Drag config option does not work
Sovai opened this issue · comments
Vc3nt commented
Hi I follow the doc using drag configuration like below
useGesture(
{
onDrag: (ctx) => handleDrag(ctx),
onDragEnd: (ctx) => handleDragEnd(ctx),
},
{
domTarget: sheetRef,
drag: {
filterTaps: true,
preventWindowScrollY: true,
useTouch: true,
delay: 1000, // test
},
}
);
however, it seems to not apply at all. I test the delay and preventWindowScrollY it still does not work. I follow the doc here
Am I missing anything?