From 99819cbeec6e328e432a1f1b7ef6f2d57a50a37a Mon Sep 17 00:00:00 2001 From: "longhe.li" Date: Thu, 22 Jan 2026 09:33:13 +0800 Subject: [PATCH] Update web/src/components/MemoEditor/Editor/index.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: longhe.li --- web/src/components/MemoEditor/Editor/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);