You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the mouse up function call preventDefault as follows.
The mouse up function seems to be throwing an error in preventDefault because the passive value is registered as true.
If you need a sample repository, I'll try to create one.
If you have a different way of handling it, I'd really appreciate your help.
MouseDragHandler.prototype._mouseUp=function(event){letclientX;if(event.type==='touchend'){clientX=Math.floor(event.changedTouches[0].clientX);if(event.cancelable){// this preventDefault function throw errorevent.preventDefault();}}else{clientX=Math.floor(event.clientX);}
...
};
In the mouse up function call preventDefault as follows.
The mouse up function seems to be throwing an error in preventDefault because the passive value is registered as true.
If you need a sample repository, I'll try to create one.
If you have a different way of handling it, I'd really appreciate your help.
Sample Video
error_example_view.mp4
peaks.js/src/mouse-drag-handler.js
Lines 132 to 159 in e65c334
peaks.js/src/mouse-drag-handler.js
Line 94 in e65c334
The text was updated successfully, but these errors were encountered: