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

[v9] feat: Add click threshold to events #3034

Open
wants to merge 1 commit into
base: v9
Choose a base branch
from

Conversation

krispya
Copy link
Member

@krispya krispya commented Oct 5, 2023

This adds a new property to events that lets you set a click threshold. If the delta of the pointer goes beyond this threshold then the click will be canceled. This lets you drag without also clicking and also just cancel miss clicks by moving the pointer.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 5, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ef7a735:

Sandbox Source
example Configuration

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