From 7c1173e2ddd2e1696e7e0ad053981f7eae48deec Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Fri, 8 Nov 2024 17:54:56 +0100 Subject: [PATCH] Prevent layout shift on load by mounting codemirror styles earlier --- frontend/components/Cell.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/components/Cell.js b/frontend/components/Cell.js index 615b4b8fe3..12fa0ad99e 100644 --- a/frontend/components/Cell.js +++ b/frontend/components/Cell.js @@ -335,6 +335,7 @@ export const Cell = ({ cm_forced_focus=${cm_forced_focus} set_cm_forced_focus=${set_cm_forced_focus} show_input=${show_input} + skip_static_fake=${is_first_cell} on_submit=${on_submit} on_delete=${on_delete} on_add_after=${on_add_after}