From ffe7cda26b84dc0701c655e97158917e130f1194 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 13 Feb 2026 17:13:48 -0500 Subject: [PATCH] fix: Mispositioned toolbar on first document open (#11437) closes #11423 --- app/editor/index.tsx | 6 ++++++ app/scenes/Document/components/MultiplayerEditor.tsx | 1 + 2 files changed, 7 insertions(+) diff --git a/app/editor/index.tsx b/app/editor/index.tsx index 629ee7b321..0c375ef0c8 100644 --- a/app/editor/index.tsx +++ b/app/editor/index.tsx @@ -78,6 +78,11 @@ export type Props = { focusedCommentId?: string; /** If the editor should not allow editing */ readOnly?: boolean; + /** + * Whether we are rendering a cached version of the document while multiplayer loads. + * This is used to disable some editor functionality + */ + cacheOnly?: boolean; /** If the editor should still allow editing checkboxes when it is readOnly */ canUpdate?: boolean; /** If the editor should still allow commenting when it is readOnly */ @@ -867,6 +872,7 @@ export class Editor extends React.PureComponent< /> {this.widgets && + !this.props.cacheOnly && Object.values(this.widgets).map((Widget, index) => (