pull/1614/head
konnorrogers 2023-10-13 10:43:01 -04:00
rodzic 9c2cde25a0
commit 048052b2ea
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -87,7 +87,7 @@ export default class Modal {
if (currentFocusIndex === -1) {
this.currentFocus = tabbableElements[0];
this.currentFocus.focus({ preventScroll: true });
this.currentFocus?.focus({ preventScroll: true });
return;
}