react-three-fiber icon indicating copy to clipboard operation
react-three-fiber copied to clipboard

[v9] feat: Add click threshold to events

Open krispya opened this issue 10 months ago • 1 comments

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.

krispya avatar Oct 05 '23 21:10 krispya

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 ef7a735834335bc3a5293c3224846f9f7450bf6e:

Sandbox Source
example Configuration

codesandbox-ci[bot] avatar Oct 05 '23 21:10 codesandbox-ci[bot]