diff --git a/src/components/App.tsx b/src/components/App.tsx index fc37c3c8b..d9e0ca8aa 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -5955,7 +5955,9 @@ class App extends React.Component { ) { return withBatchedUpdatesThrottled((event: PointerEvent) => { //To avoid pointerMove canceling the selection of locked elements on mobile - if(Boolean(this.state.contextMenu)) return; + if (Boolean(this.state.contextMenu)) { + return; + } // We need to initialize dragOffsetXY only after we've updated // `state.selectedElementIds` on pointerDown. Doing it here in pointerMove