diff --git a/src/hooks/useViewState.ts b/src/hooks/useViewState.ts index 5b5eb2b..d7e937f 100644 --- a/src/hooks/useViewState.ts +++ b/src/hooks/useViewState.ts @@ -135,7 +135,6 @@ export function useViewState({ * focus it so that when we delete it the user will be at the start of the focus order * just like if they had freshly loaded the page. */ if (savedActiveElement !== null) { - savedActiveElement.focus(); } else { const tempInteractiveEl = document.createElement('span'); tempInteractiveEl.setAttribute('tabindex', '1');