diff --git a/web/src/components/MemoEditor/Editor/index.tsx b/web/src/components/MemoEditor/Editor/index.tsx index e03875c3c..9b0b650a8 100644 --- a/web/src/components/MemoEditor/Editor/index.tsx +++ b/web/src/components/MemoEditor/Editor/index.tsx @@ -181,7 +181,7 @@ const Editor = forwardRef(function Editor(props: EditorProps, ref: React.Forward isInIME, }); - // focus mode scroll height is handled by flex layout + // Recalculate editor height when focus mode changes useEffect(() => { updateEditorHeight(); }, [isFocusMode, updateEditorHeight]);