react-three-fiber
react-three-fiber copied to clipboard
[v9] feat: Add click threshold to events
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.
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 |