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

Ensure we stop the event from propagating #798

Merged
merged 2 commits into from Sep 12, 2021

Conversation

RobinMalfait
Copy link
Collaborator

@RobinMalfait RobinMalfait commented Sep 12, 2021

We usually prevent the default behaviour and stop the propagation when pressing escape, but they were missing for the Popover component.

Fixes: #779

@vercel
Copy link

vercel bot commented Sep 12, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

headlessui-react – ./packages/@headlessui-react

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-react/8ihVZ5mw4UYqAH6b51uzmjFTtFei
✅ Preview: https://headlessui-react-git-stop-propagation-on-escape-tailwindlabs.vercel.app

headlessui-vue – ./packages/@headlessui-vue

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/BJquKC7KomXaKnEeoEq9aVh9BjRS
✅ Preview: https://headlessui-vue-git-stop-propagation-on-escape-tailwindlabs.vercel.app

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.

None yet

1 participant