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
However, if I first click popover1.button, then click popover2.button (while popover1.panel is still "expanded") it will only close popover1.panel. I must click popover2.button a second time to open popover2.panel.
I'll have to have a play around and see what the best way to support that - I'm picturing something a bit like Stripe's top-level nav, is that the right interpretation?
Thanks for all the work you've put into this library! Excited to use it and see it grow. 😃
I want to use multiple Popovers to build a more complex site navigation header. Some pseudocode:
However, if I first click
popover1.button
, then clickpopover2.button
(whilepopover1.panel
is still "expanded") it will only closepopover1.panel
. I must clickpopover2.button
a second time to openpopover2.panel
.In headlessui, this action is supported with grouping related popovers (
<Popover.Group />
).Is there a way to achieve that functionality?
The text was updated successfully, but these errors were encountered: