Open Skintillion opened 3 years ago
I added an "on scroll" prevention on desktop and mobile if you want to merge it. There's no configuration for it, it will just cancel the timeout if you scroll while long pressing. Found it a problem on mobile mostly.
https://github.com/Skintillion/vue-directive-long-press
I can make a PR if that would help.
Hi good work on this. But why is long-press-stop still firing even when the duration 300 is not reached? Like a fast click
long-press-stop
300
I added an "on scroll" prevention on desktop and mobile if you want to merge it. There's no configuration for it, it will just cancel the timeout if you scroll while long pressing. Found it a problem on mobile mostly.
https://github.com/Skintillion/vue-directive-long-press
I can make a PR if that would help.