fix(core): fix scroll block into view (#7712)

This commit is contained in:
EYHN
2024-08-05 02:29:49 +00:00
parent 05448f50af
commit ad26102815

View File

@@ -215,7 +215,7 @@ export const BlocksuiteEditorContainer = forwardRef<
return; return;
} }
blockElement.scrollIntoView({ blockElement.scrollIntoView({
behavior: 'smooth', behavior: 'instant',
block: 'center', block: 'center',
}); });
const selectManager = affineEditorContainerProxy.host?.selection; const selectManager = affineEditorContainerProxy.host?.selection;