Skip to content

ui5-avatar-group: users can define the number of overflowButton #2912

@JosephineSu

Description

@JosephineSu

Is your feature request related to a problem? Please describe.
In most cases, there are more than 99 avatar items in avatar group in our app. If all of these avatars rendered in dom tree, it is a big challenge to make good performance. So we suggest that avatar group component only render avatars displayed on page and the overflowButton when current screen size is limit. For the hidden avatar items, there is no need to render. Besides, we need show the total count of avatars no matter how many avatars we pass to avatar group. So we need an interface to define the number of overflowButton.
Describe the solution you'd like
1、 The number of overflowButton can be defined by user.
2、Don't render hidden avatar items.
Describe alternatives you've considered
Using "..." in overflowButton to indicate rest of avatars.
Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

1.0.0-rc.14 (released 01 Apr, 2021)

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions