We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb45e4e commit d49aa9aCopy full SHA for d49aa9a
polyfill/spatnav-heuristic.js
@@ -58,6 +58,9 @@
58
const eventTarget = document.activeElement;
59
const dir = ARROW_KEY_CODE[e.keyCode];
60
61
+ if (e.keyCode === TAB_KEY_CODE)
62
+ spatNavManager.startingPosition = null;
63
+
64
if(!currentKeyMode ||
65
(currentKeyMode === 'NONE') ||
66
((currentKeyMode === 'SHIFTARROW') && !e.shiftKey) ||
@@ -78,9 +81,6 @@
78
81
spatNavManager.startingPosition = null;
79
82
}
80
83
-
- if (e.keyCode === TAB_KEY_CODE)
- spatNavManager.startingPosition = null;
84
});
85
86
/**
@@ -1156,6 +1156,7 @@
1156
(!container.parentElement && !isHTMLScrollBoundary(container, dir));
1157
1158
1159
1160
function findTarget(findCandidate, element, dir) {
1161
let eventTarget = element;
1162
let bestNextTarget = null;
0 commit comments