Close/Hide Combobox on click when using NextJS Link #1807
-
Hi all, I'm using the Combobox with NextJS to jump between pages. Unfortunately, the box doesn't hide/close after going to a page. This doesn't seem to work for Combobox though, when attempting to wrap Combobox.Option in close() I receive and error that close() is not a function. When attempting to wrap Combobox.options in close() it doesn't even open. Any idea what I could apply to close?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Fixed by applying the same change as suggested for menu: https://headlessui.com/react/menu#integrating-with-next-js :) |
Beta Was this translation helpful? Give feedback.
Fixed by applying the same change as suggested for menu: https://headlessui.com/react/menu#integrating-with-next-js
:)