Skip to content

fix(facepile): Enable tooltip on extra users counter#30

Open
gabotorresruiz wants to merge 1 commit intogetcord:mainfrom
gabotorresruiz:fix/facepile-tooltip-on-extra-users
Open

fix(facepile): Enable tooltip on extra users counter#30
gabotorresruiz wants to merge 1 commit intogetcord:mainfrom
gabotorresruiz:fix/facepile-tooltip-on-extra-users

Conversation

@gabotorresruiz
Copy link

Summary

  • Fix missing tooltip on the "+N" extra users counter in the ui3 Facepile component
  • The ui3 Facepile defaulted enableTooltip to false, unlike ui2 Facepile2 which defaults to true
  • The public SDK wrapper (sdk/client/core/react/Facepile.tsx) already defaults enableTooltip to true, confirming this was unintentional

What was happening

Hovering over any "+N" overflow counter, showed no tooltip because enableTooltip=false caused extraUsersTooltipText to be null, and WithTooltip only renders when label is truthy

What this fixes

The "+N" counter now shows a tooltip listing the extra users names

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

Successfully merging this pull request may close these issues.

1 participant