Skip to content

Fix dispatch onPointerDownOutside on touch when click inside #2177

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

Merged
merged 4 commits into from
May 31, 2023

Conversation

joaom00
Copy link
Contributor

@joaom00 joaom00 commented May 30, 2023

The click event is not properly cleared when canceled on touch devices, causing content to close when clicked inside.

Fixes #2171

@joaom00 joaom00 changed the title Fix dismissable layer Fix dispatch onPointerDownOutside on touch when click inside May 30, 2023
@benoitgrelard benoitgrelard merged commit 08c0ceb into radix-ui:main May 31, 2023
@joaom00 joaom00 deleted the fix-dismissable-layer branch June 13, 2023 02:12
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.

Bug: Popover component closing after content dragging event on mobile when clicked after.
2 participants