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

Ignore "outside click" on removed elements #1193

Merged
merged 2 commits into from
Mar 4, 2022

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Mar 4, 2022

This PR is a continuation of #869. It fixes an issue where a click on a removed element will close the Dialog. In this case, we will ignore "outside clicks" on removed elements.
This is a rebased version and also an implementation for Vue.

Closes: #869

@vercel
Copy link

vercel bot commented Mar 4, 2022

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/playground-react

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-react/Fp53EtiXeUuNzwYTQZkauiHUddU8
✅ Preview: https://headlessui-react-git-ignore-outside-click-o-636d13-tailwindlabs.vercel.app

headlessui-vue – ./packages/playground-vue

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/7SmqEqa99EYH67hnDvnVz1cYsinV
✅ Preview: https://headlessui-vue-git-ignore-outside-click-on-removed-tailwindlabs.vercel.app

@RobinMalfait RobinMalfait force-pushed the ignore-outside-click-on-removed branch from 4dff481 to 7cfe7cc Compare March 4, 2022 15:04
@RobinMalfait RobinMalfait merged commit 2414bbd into main Mar 4, 2022
@RobinMalfait RobinMalfait deleted the ignore-outside-click-on-removed branch March 4, 2022 15:10
RobinMalfait added a commit that referenced this pull request Mar 7, 2022
* ignore "outside click" on removed elements

Co-authored-by: Colin King <[email protected]>

* update changelog

Co-authored-by: Colin King <[email protected]>
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.

1 participant