-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Hello, I noticed in the project that I'm working on that there are a pretty high amount of errors raised from markerjs2:
IgnoredEventCancel: intervention: Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
This error is raised when browser is emitting touchmove event on the image, the line that's throwing the error is this:
Line 846 in 3a3700a
| this.markerImage.addEventListener('touchmove', (ev) => ev.preventDefault()); |
and the fix is as simple as this:
this.markerImage.addEventListener('touchmove', (ev) => ev.cancelable && ev.preventDefault());this isn't anything critical, I can easily filter this error in the monitoring to avoid logging it as something that needs attention, but given that there's a pretty easy fix for it I thought about informing about it. Have a great day.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels