Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloseButton Component will not work in next.js when imported from @headlessui/react #3546

Open
Elieserlaguerre opened this issue Oct 31, 2024 · 0 comments

Comments

@Elieserlaguerre
Copy link

Elieserlaguerre commented Oct 31, 2024

What package within Headless UI are you using?
I'm using the Disclosure from @headlessui/react

What version of that package are you using?
I'm using version: "^2.2.0"

What browser are you using?
Chrome

Reproduction URL
I don't know how to create/provide a reproduction URL.

Describe your issue

Describe the problem you're seeing, any important steps to reproduce, and what behavior you expect instead.
When I click on the CloseButton component, it does nothing except redirect the client to another page, which is what I want. However, it does not close the DisclosurePanel, which is what I want.

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

No branches or pull requests

1 participant