diff --git a/src/components/App.tsx b/src/components/App.tsx index 3644ffee63..ec08b46738 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1299,6 +1299,8 @@ class App extends React.Component { username, selectedElementIds, } = decryptedData.payload; + // NOTE purposefully mutating collaborators map in case of + // pointer updates so as not to trigger LayerUI rerender this.setState((state) => { if (!state.collaborators.has(socketID)) { state.collaborators.set(socketID, {});