David Bismut
David Bismut
Once 8.1.0 is released I can consider a pull request to implement this.
Note that `onDblClick` and `onClick` handlers exist in React + this lib has a `tap` state attribute and a `delay` config option. All in all I guess this makes detection...
I don't think I'll handle this myself. If someone wants to give it a shot please open a PR.
@laclance would you mind elaborating a bit more and possibly submit a sandbox?
@laclance thanks for the sandbox. Can you describe what you're trying to achieve feature-wise? The code seems a bit complex at first glance.
@laclance Have a look at this https://codesandbox.io/s/great-tu-kzc8m?file=/src/App.tsx
@danieloi That's always good to hear! Unfortunately I have zero knowledge about React Native, maybe @thephoenixofthevoid can help?
Please see: https://github.com/pmndrs/use-gesture/discussions/287 There's no easy fix except from making `bind()` typings looser.
I agree but I don't use r3f enough to know how to implement those. That would probably mean adding also another core package for DOM related packages.
Can you try upgrading to `@use-gesture/react` which is in fact v10?