mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
fix(core): fix scroll block into view (#7712)
This commit is contained in:
@@ -215,7 +215,7 @@ export const BlocksuiteEditorContainer = forwardRef<
|
||||
return;
|
||||
}
|
||||
blockElement.scrollIntoView({
|
||||
behavior: 'smooth',
|
||||
behavior: 'instant',
|
||||
block: 'center',
|
||||
});
|
||||
const selectManager = affineEditorContainerProxy.host?.selection;
|
||||
|
||||
Reference in New Issue
Block a user