diff --git a/src/excalidraw-app/collab/CollabWrapper.tsx b/src/excalidraw-app/collab/CollabWrapper.tsx index 0d7a90b8e..9b353eb68 100644 --- a/src/excalidraw-app/collab/CollabWrapper.tsx +++ b/src/excalidraw-app/collab/CollabWrapper.tsx @@ -448,15 +448,8 @@ class CollabWrapper extends PureComponent { private handleRemoteSceneUpdate = ( elements: ReconciledElements, - { - init = false, - initFromSnapshot = false, - }: { init?: boolean; initFromSnapshot?: boolean } = {}, + { init = false }: { init?: boolean } = {}, ) => { - if (init || initFromSnapshot) { - this.excalidrawAPI.setScrollToContent(elements); - } - this.excalidrawAPI.updateScene({ elements, commitToHistory: !!init,