Replies: 2 comments 2 replies
-
Having similar issues. The Menu component does work in the way that you need it to, it closes when a menu item is clicked. We're also trying to use the flyout (popover) and mobile navigation menu examples (disclosure) and stuck on how to close them onNavigate(). Any guidance here? Is it best to try managing ourselves with the static prop mentioned in the docs or is there a smarter way to accomplish this. Good info here #358 (comment) |
Beta Was this translation helpful? Give feedback.
-
I'm also interested in a solution here. Rendering a PopoverButton Rendering Rendering a default PopoverButton with an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
I'd like to implement headlessui in my SPA. Now as
vue-router
does not perform a reload-event of the whole page, an open popover will remain open even after the user already clicked a link and navigated to a new page.My question: How can I react to url change and close the popover accordingly?
Beta Was this translation helpful? Give feedback.
All reactions