Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check for event.cancelable in touch events
Chrome has started warning when canceling an event that cannot be cancelled, like scrolling. This causes a fair bit of log spam. I know it fires for touchmove and touchend and there's reports that it also fires for touchstart. IgnoredEventCancel: intervention: Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted References: - react-grid-layout/react-draggable#553 - https://www.uriports.com/blog/easy-fix-for-intervention-ignored-attempt-to-cancel-a-touchmove-event-with-cancelable-false/ - FL3NKEY/scroll-lock#19 - https://stackoverflow.com/a/53315365/30900
- Loading branch information