Skip to content

Commit 240ee12

Browse files
committed
Keep Monaco readiness stable across renders
1 parent 80f1bbc commit 240ee12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PrompterOne.Shared/Editor/Components/EditorSourcePanel.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<div class="ed-source-monaco"
102102
@ref="_editorHostRef"
103103
data-test="@UiTestIds.Editor.SourceStage"
104-
data-editor-ready="false"></div>
104+
data-editor-ready="@(_surfaceInteropReady ? "true" : "false")"></div>
105105
<div class="ed-source-highlight">
106106
<div class="ed-source-highlight-surface"
107107
@ref="_semanticSnapshotRef"

0 commit comments

Comments
 (0)