Let's further reduce cancelOnMovement

This commit is contained in:
Lim Chee Aun 2023-09-30 00:26:51 +08:00
parent 3042dea886
commit 30f6d50a68

View file

@ -807,7 +807,7 @@ function Status({
threshold: 600,
captureEvent: true,
detect: 'touch',
cancelOnMovement: 4, // true allows movement of up to 25 pixels
cancelOnMovement: 2, // true allows movement of up to 25 pixels
},
);
@ -2088,7 +2088,7 @@ function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) {
threshold: 600,
captureEvent: true,
detect: 'touch',
cancelOnMovement: 4, // true allows movement of up to 25 pixels
cancelOnMovement: 2, // true allows movement of up to 25 pixels
},
);