Skip to content
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

AvatarGroup - бесконечные ререндеры #1271

Closed
undfndusr opened this issue Mar 20, 2024 · 0 comments · Fixed by #1276
Closed

AvatarGroup - бесконечные ререндеры #1271

undfndusr opened this issue Mar 20, 2024 · 0 comments · Fixed by #1276
Assignees
Labels
bug Something isn't working

Comments

@undfndusr
Copy link

undfndusr commented Mar 20, 2024

Если обернуть AvatarGroup в div, а затем еще раз во флекс контейнер, то компонент бесконечно ререндерится.

Песочница с примером:
https://stackblitz.com/edit/github-vw554o-ccg2hi?file=src%2FApp.tsx

Помогает задать фикс. ширину родительскому контейнеру

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants