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

Popover not closing on PopoverButton click #2713

Closed
Megarsh opened this issue Aug 29, 2023 · 1 comment · Fixed by #2715
Closed

Popover not closing on PopoverButton click #2713

Megarsh opened this issue Aug 29, 2023 · 1 comment · Fixed by #2715
Assignees

Comments

@Megarsh
Copy link

Megarsh commented Aug 29, 2023

What package within Headless UI are you using?

@headlessui/vue

What version of that package are you using?

v1.7.16

What browser are you using?

Chrome

Reproduction URL

https://codesandbox.io/s/elastic-keller-k9x23w

Describe your issue

PopoverButton starts behaving weirdly when used as a template and having a button component inside of it.

This behavior most likely started from v1.7.14 because it works as expected on v1.7.12

@Megarsh Megarsh changed the title PopoverButton not closing on click Popover not closing on PopoverButton click Aug 29, 2023
@thecrypticace thecrypticace self-assigned this Aug 29, 2023
@RobinMalfait
Copy link
Collaborator

Hey, thank you for this bug report! 🙏

This should be fixed by #2715, and will be available in the next release.

You can already try it using:

  • npm install @headlessui/vue@insiders.

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

Successfully merging a pull request may close this issue.

3 participants