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: cannot close by clicking out-side in a shadow-root #2856

Closed
islxyqwe opened this issue Nov 29, 2023 · 1 comment · Fixed by #2866
Closed

Popover: cannot close by clicking out-side in a shadow-root #2856

islxyqwe opened this issue Nov 29, 2023 · 1 comment · Fixed by #2866
Assignees

Comments

@islxyqwe
Copy link

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v1.7.17

What browser are you using?

Chrome

Reproduction URL

https://codesandbox.io/p/sandbox/quirky-tharp-4qhcp2

Describe your issue

the popover cannot be closed when clicking outside when it's used in a shadow-root.

@thecrypticace
Copy link
Contributor

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

You can try it using our insiders build which should be available in the next few minutes:

  • npm install @headlessui/react@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.

2 participants