From 8889235bea42060674ba6d7234b6504f8ce812b8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 24 Aug 2025 11:17:57 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15670 --- app/src/menus/protyle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 60e471491..f73120965 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -1020,7 +1020,7 @@ export const zoomOut = (options: { } focusBlock(showElement); const resizeObserver = new ResizeObserver(() => { - showElement.scrollIntoView(); + focusElement.scrollIntoView(); }); resizeObserver.observe(options.protyle.wysiwyg.element); setTimeout(() => {