Skip to content

feat: Add tooltip to badge for GlAvatarsInline

When using GlAvatarsInline, a badge next to the avatars shows the number of remaining avatars when the total number of avatars exceeds the given maxVisible prop.

This MR adds a tooltip to the badge which shows the names of the remaining (hidden) avatars.

avatar_badge_tooltips

In detail it adds the following:

  • badgeTooltipProp prop which will be used to specify the the tooltip content
  • badgeTooltipMaxChars prop which specifies the max number of characters to display the tooltip won't bloat

Closes #593 (closed)

Edited by Martin Wortschack

Merge request reports

Loading