Skip to content

[minor] Exposing ref in Avatar, badge, button, card and chip to improve popover compatibility - #2517

Merged
PelayoFelgueroso merged 3 commits into
masterfrom
jialecl/popover-compatibility
Aug 5, 2026
Merged

[minor] Exposing ref in Avatar, badge, button, card and chip to improve popover compatibility#2517
PelayoFelgueroso merged 3 commits into
masterfrom
jialecl/popover-compatibility

Conversation

@Jialecl

@Jialecl Jialecl commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

…er compatibility

Checklist
(Check off all the items before submitting)

  • Build process is done without errors. All tests pass in the /lib directory.
  • Self-reviewed the code before submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Purpose
Popover needs access to the ref to know the exact position it needs to placed itself in reference to the trigger.

Comment thread packages/lib/src/avatar/Avatar.tsx
Comment thread packages/lib/src/button/Button.tsx Outdated
Comment thread apps/website/screens/components/card/code/CardCodePage.tsx Outdated
@PelayoFelgueroso
PelayoFelgueroso merged commit 06e4f15 into master Aug 5, 2026
5 checks passed
@PelayoFelgueroso
PelayoFelgueroso deleted the jialecl/popover-compatibility branch August 5, 2026 11:36
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.

2 participants