diff --git a/src/Dom/focus.ts b/src/Dom/focus.ts index 1b8ea5b9..7d7759bd 100644 --- a/src/Dom/focus.ts +++ b/src/Dom/focus.ts @@ -123,7 +123,7 @@ function syncFocus() { ? lastFocusElement : focusableList[0]; - matchElement?.focus(); + matchElement?.focus({ preventScroll: true }); } else { lastFocusElement = activeElement as HTMLElement; }