-
Notifications
You must be signed in to change notification settings - Fork 137
fix(AvatarStack): change ordering algorithm for correct logical order li #2480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix(AvatarStack): change ordering algorithm for correct logical order li #2480
Conversation
|
Preview is ready. |
|
Visual Tests Report is ready. |
|
@ogonkov |
| border-radius: 100%; | ||
|
|
||
| &:not(:first-child) { | ||
| &:not(:last-child) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like some mistyping, can you return empty line here please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {visibleItems} | ||
| {hasMoreButton ? ( | ||
| <AvatarStackItem key="more-button"> | ||
| <AvatarStackItem key="more-button" style={{zIndex: 0}}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this object to some variable outside of component please, to avoid redundant props change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| type Props = React.PropsWithChildren<{ | ||
| style?: React.CSSProperties; | ||
| }>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| type Props = React.PropsWithChildren<{ | |
| style?: React.CSSProperties; | |
| }>; | |
| type Props = React.PropsWithChildren<Pick<HTMLLIElement, 'style'>>; |


No description provided.