Add passive: false
to the wheel
event listener used in PDFPresentationMode
(issue 11735, PR 10765 follow-up)
This commit is contained in:
parent
b86df97725
commit
59eada6972
@ -423,7 +423,7 @@ class PDFPresentationMode {
|
||||
|
||||
window.addEventListener("mousemove", this.showControlsBind);
|
||||
window.addEventListener("mousedown", this.mouseDownBind);
|
||||
window.addEventListener("wheel", this.mouseWheelBind);
|
||||
window.addEventListener("wheel", this.mouseWheelBind, { passive: false });
|
||||
window.addEventListener("keydown", this.resetMouseScrollStateBind);
|
||||
window.addEventListener("contextmenu", this.contextMenuBind);
|
||||
window.addEventListener("touchstart", this.touchSwipeBind);
|
||||
|
Loading…
Reference in New Issue
Block a user