Skip to content

Commit

Permalink
fix(core): change scrollintoview block to be nearest (#6328)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaandal committed Apr 29, 2024
1 parent 311d722 commit 509757c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function useTrackFocusPath(props: Props): void {
scrollIntoView(relatedEditorItem.elementRef.current, {
scrollMode: 'if-needed',
boundary: boundaryElement,
block: 'start',
block: 'nearest',
inline: 'start',
})
}
Expand Down

0 comments on commit 509757c

Please sign in to comment.