You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because PopoverDisclosure already implements PopoverAnchor underneath and it's taking precedence.
Though I agree in this case PopoverAnchor, when used together with PopoverDisclosure, should always take precedence.
So basically (right now) if you use <PopoverAnchor> you have to connect the store to the trigger manually, or is there another way? Getting the aria attributes etc. ([aria-expanded], [aria-haspopup], etc.) is still relevant for the trigger, even if it's not related to where the popover will be placed at the time.
Current behavior
It seems like the
<PopoverAnchor>
component is not working as expected - seems like Ariakit is ignoring it completely.Steps to reproduce the bug
Expected behavior
The popover should appear next to the "Different anchor" element, NOT the "Accept Invite" button.
Workaround
Manually saving a ref to
PopoverAnchor
and using that ingetAnchorRect
:Possible solutions
No response
The text was updated successfully, but these errors were encountered: