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

refactor: don't prevent pointerup propagation when no drag #793

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

chrisvxd
Copy link
Member

@chrisvxd chrisvxd commented Jan 13, 2025

The pointerup event handler was preventing propagation, even if the user was not currently dragging.

Fixed by adding a check to the sensor. Also moving fix upstream to clauderic/dnd-kit#1566.

Closes #769

Copy link

vercel bot commented Jan 13, 2025

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

Name Status Preview Comments Updated (UTC)
puck-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 13, 2025 11:52am
puck-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 13, 2025 11:52am

@chrisvxd chrisvxd merged commit 007a413 into main Jan 13, 2025
4 checks passed
@chrisvxd chrisvxd deleted the 769-pointer-sensor-issues branch January 13, 2025 11:56
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.

0.18 canary breaking Next UI app
1 participant