fix(core): unexpected horizontal scrolling after jump to block (#6475)

close TOV-788
This commit is contained in:
JimmFly 2024-04-09 15:18:15 +00:00
parent 4a93582799
commit a83f49e700
No known key found for this signature in database
GPG Key ID: 14A6F56854E1BED7

View File

@ -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;