long-press-event
long-press-event copied to clipboard
FYI: No `touchcancel` event handler
I can see you're handling touchend
event but no touchcancel
event.
They seem to be different things:
https://alxgbsn.co.uk/2011/12/23/different-ways-to-trigger-touchcancel-in-mobile-browsers/
I was just looking at your code while implementing my own stuff.
@catamphetamine will your stuff be open-sourced? :)
@limonte https://gitlab.com/catamphetamine/webapp-frontend/-/blob/master/src/components/OnLongPress.js No pointer events though.
Thank you for raising this @catamphetamine, I'm super busy atm. Any chance you could submit a PR?
@john-doherty Nyet