fix(core): fix scroll block into view (#7712)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user