pull/2835/head
Tuğçe Küçükoğlu 2022-08-03 13:12:01 +03:00
parent a5f37d0735
commit cbaa9f4ce7
1 changed files with 1 additions and 1 deletions

View File

@ -2244,7 +2244,7 @@ export default {
let focusedIndex = focusableElements.indexOf(document.activeElement);
if (event.shiftKey) {
if (focusedIndex == -1 || focusedIndex === 0)
if (focusedIndex === -1 || focusedIndex === 0)
focusableElements[focusableElements.length - 1].focus();
else
focusableElements[focusedIndex - 1].focus();