use-gesture
use-gesture copied to clipboard
👇Bread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.
**Describe the bug** When using the library in a TypeScript project that is using ESM (NodeNext) module resolution, typings for top-level hooks are available but their parameter types are broken...
Current link is pointing to old page name `/docs/hooks` instead of `/docs/gestures`.
**Describe the bug** When using the useDrag Hook with both the filterTaps and preventScroll options enabled, taps on child elements of the drag container are not resulting in an onclick...
** I get an error when executing the code from the documentation.** > I get an error when executing the code in this section of your site "https://use-gesture.netlify.app/docs/options/#transform ". I...
**Describe the bug** The onPinch gesture starts breaking while using control + scroll. The movement property on the onPinch state has a NaN value at the Oth index. The onPinch...
First of all, big thank you to all contributors of this incredibly high-quality library. Now let the nitpicking games begin! **Describe the bug** According to [documentation](https://use-gesture.netlify.app/docs/options/#delay), if both `delay` and...
**Describe the bug** > A clear and concise description of what the bug is. I have a draggable element with `axis: 'y'`. After I navigate back using alt+left, the element...
**Describe the bug** Same as #32, When dragging, sometimes (when starting the drag fast?) the direction in `onDragStart` is [0,0] instead of [1,0] or [-1,0]. Here is a log of...
**Describe the bug** Binding a drag gesture listener on the parent of a shadow dom host prevents onClick listener within shadow dom from firing. This _does_ work with firefox, but...