Closed Sovai closed 2 years ago
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?
Hi I follow the doc using drag configuration like below
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?