diff --git a/src/components/App.tsx b/src/components/App.tsx index 0fe8319e..271f1ac4 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1959,9 +1959,9 @@ class App extends React.Component { }, ); - private onWheel = withBatchedUpdates((event: MouseEvent) => { + private onWheel = withBatchedUpdates((event: WheelEvent) => { // prevent browser pinch zoom on DOM elements - if (!(event.target instanceof HTMLCanvasElement)) { + if (!(event.target instanceof HTMLCanvasElement) && event.ctrlKey) { event.preventDefault(); } });