Merge pull request #11736 from Snuffleupagus/more-wheel-passive
Add `passive: false` to the `wheel` event listener used in `PDFPresentationMode` (issue 11735, PR 10765 follow-up)
This commit is contained in:
commit
85838fc505
@ -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