diff --git a/src/utils/scroll-into-view.ts b/src/utils/scroll-into-view.ts index de43ffe1f..68f58ed12 100644 --- a/src/utils/scroll-into-view.ts +++ b/src/utils/scroll-into-view.ts @@ -2,8 +2,8 @@ export function scrollIntoView(viewId: string, shouldFocus: boolean = false) { const currentElement = document.getElementById(viewId); currentElement?.scrollIntoView({ behavior: 'smooth', - block: 'start', - inline: 'start', + block: 'center', + inline: 'center', }); if (shouldFocus) {