-
-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
There such error in Chrome with dev tools and device toolbar enabled:
tweakpane.js:3324 [Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
the error in ev.preventDefault(); call (it happens on a slider change for example):
onTouchStart_(ev) {
ev.preventDefault();
const touch = ev.targetTouches.item(0);
const rect = this.elem_.getBoundingClientRect();
this.emitter.emit('down', {
altKey: ev.altKey,
data: this.computePosition_(touch
? {
x: touch.clientX - rect.left,
y: touch.clientY - rect.top,
}
: undefined),
sender: this,
shiftKey: ev.shiftKey,
});
this.lastTouch_ = touch;
}Metadata
Metadata
Assignees
Labels
No labels