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 API Suggestion #1336

Open
1 of 2 tasks
jpeng-ms opened this issue Nov 1, 2022 · 0 comments
Open
1 of 2 tasks

AvatarGroup API Suggestion #1336

jpeng-ms opened this issue Nov 1, 2022 · 0 comments
Assignees

Comments

@jpeng-ms
Copy link

jpeng-ms commented Nov 1, 2022

Platform

  • iOS
  • macOS

Describe the feature that you would like added

Since Fluent UI only exposed some basic functions such as getAvatar(at:) and setAvatar(at:), it’s difficult to use this component in a setting where avatar changes a lot and we need to keep tracking indices on our end.

Comparing to the same component on Android side, they can simply call setAvatars(list: List<IAvatar>) to update its content. I was wondering if we can adapt this on iOS side as well or maybe simply expose the avatar array so we can modify it directly?

What component or utility would this be added to

AvatarGroup

Have you discussed this feature with our team, and if so, who

Sophia

Additional context/screenshots

the proposed suggestions have been implemented on Android side already: https://github.com/microsoft/fluentui-android/blob/master/fluentui_persona/src/main/java/com/microsoft/fluentui/persona/AvatarGroupView.kt

@sophialee0416 sophialee0416 self-assigned this Nov 1, 2022
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

2 participants