diff --git a/src/viewer.js b/src/viewer.js index 136040d4..e18fa53e 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -2847,7 +2847,10 @@ function onCanvasScroll( event ) { } } else { - return false; // We are swallowing this event + gestureSettings = this.gestureSettingsByDeviceType( event.pointerType ); + if (gestureSettings && gestureSettings.scrollToZoom) { + return false; // We are swallowing this event + } } }