mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
fix(core): unexpected horizontal scrolling after jump to block (#6475)
close TOV-788
This commit is contained in:
@@ -212,7 +212,6 @@ export const BlocksuiteEditorContainer = forwardRef<
|
|||||||
blockElement.scrollIntoView({
|
blockElement.scrollIntoView({
|
||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
block: 'center',
|
block: 'center',
|
||||||
inline: 'center',
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
const selectManager = affineEditorContainerProxy.host?.selection;
|
const selectManager = affineEditorContainerProxy.host?.selection;
|
||||||
|
|||||||
Reference in New Issue
Block a user