From a83f49e700968d3f760e04d7ddf360c7ccd8b9a1 Mon Sep 17 00:00:00 2001 From: JimmFly <447268514@qq.com> Date: Tue, 9 Apr 2024 15:18:15 +0000 Subject: [PATCH] fix(core): unexpected horizontal scrolling after jump to block (#6475) close TOV-788 --- .../block-suite-editor/blocksuite-editor-container.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx index dcd2315d12..4521106c95 100644 --- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx +++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx @@ -212,7 +212,6 @@ export const BlocksuiteEditorContainer = forwardRef< blockElement.scrollIntoView({ behavior: 'smooth', block: 'center', - inline: 'center', }); } const selectManager = affineEditorContainerProxy.host?.selection;