**Information:**
- Use Gesture version: v10.3.1
- Browser Edge、Chrome
**Checklist:**
- [x] I've read the [documentation](https://use-gesture.netlify.app/).
- [x] If this is an issue with drag, I've tried setting `touch-action: none` to the draggable element.
Describe the bug
Sandbox or Video
let gesture: DragGesture;
const vDarg: Directive = {
mounted(el, binding, vnode, prevVnode) {
gesture = new DragGesture(el, ({ active, movement: [mx, my],...e }) => {
console.log(active,my,e)
anime({
targets: el,
translateY: active ? my : 0,
duration: active ? 0 : 1000
});
}, {
preventDefault: true,
filterTaps: true
});
},
unmounted(el, binding, vnode, prevVnode) {
gesture.destroy();
}
}