mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-30 14:12:00 +03:00
fix(core): unexpected horizontal scrolling after jump to block (#6475)
close TOV-788
This commit is contained in:
parent
4a93582799
commit
a83f49e700
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user