Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): unexpected horizontal scrolling after jump to block (#6475)

JimmFlya83f49e70096
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;