diff --git a/apps/frontend/src/components/CollaborativeEditor/CollaborativeEditor.tsx b/apps/frontend/src/components/CollaborativeEditor/CollaborativeEditor.tsx index b88531ebb3..be91e2238a 100644 --- a/apps/frontend/src/components/CollaborativeEditor/CollaborativeEditor.tsx +++ b/apps/frontend/src/components/CollaborativeEditor/CollaborativeEditor.tsx @@ -391,6 +391,9 @@ const CollaborativeEditor = forwardRef( yCollab(ytext, provider.awareness, { undoManager }), keymap.of([indentWithTab]), codeChangeListener, + EditorView.theme({ + "&": { height: "100%", overflow: "hidden" }, // Enable Scroll + }), ], });