David Bismut

Results 184 comments of David Bismut

This depends on the wheel velocity, which is something that I guess could be hardware related and possibly configured by each user. This is not something we could normalize. I...

Hey @breauxna would you mind sharing a sandbox that would show the problem with the current version of use-gesture?

@breauxna just to clarify, onPinch now gives you directly scale and rotation. There's no need for multiplying delta to approximate the zoom. If you look at the exemples such as...

Weird @breauxna. On which device?

@breauxna there seems to be something weird with codesandbox. Can you try saving the sandbox (this will fork it) and reload the page? It should work properly afterwards (or just...

`delta` is, as mentioned in the docs, the difference between the current `movement` and the previous `movement`. In other words, it's the delta of the scale (which yes, is calculated...

Maybe you could jump on the Discord and we could chat about your use case. I'm kinda interested at why you wouldn't be able to use this lib, even if...

Hey, thanks for reporting this. The `filterTaps` option checks if the drag is an actual drag or a tap (it does this by checking whether the displacement is greater than...

Oh right. You mean setting `state.tap = false` on `pointerDown` then? I'd have to make sure there's no collaterals.

Yes, that's what I meant, but I would have to restore `state.tap` to a falsy value as soon as the gesture starts, as people might rely on it before `pointerUp`....