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

Improve Portal detection for Popover components #1842

Merged
merged 4 commits into from Sep 28, 2022
Merged

Conversation

RobinMalfait
Copy link
Collaborator

This PR improves the detection of being inside a Portal/Teleport, by checking some heuristics.

Fixes: #1839

@vercel
Copy link

vercel bot commented Sep 9, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
headlessui-react ✅ Ready (Inspect) Visit Preview Sep 28, 2022 at 11:23AM (UTC)
headlessui-vue ✅ Ready (Inspect) Visit Preview Sep 28, 2022 at 11:23AM (UTC)

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 this pull request may close these issues.

Unexpected keyboard focus behaviour on Popover with portalled panel
1 participant