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

Initials font-size does not change if the avatar size changes dynamically #253

Open
zhaoqixu opened this issue Oct 3, 2022 · 0 comments

Comments

@zhaoqixu
Copy link

zhaoqixu commented Oct 3, 2022

The initials font-size works as expected at the time the avatar is firstly created and mounted to the DOM tree. However, later when we change the avatar size dynamically and pass the updated size as props to the avatar component, the overall avatar size changes as expected but the initials font-size remains the same.

The ability to adjust the intials size dynamically is important for scenarios like video conferencing where the avatar size could change depending on the number of people joining or leaving the group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant