Skip to content

Commit 0bd2d5c

Browse files
author
Jihye Hong
authored
Merge pull request w3c#133 from jeonghee27/non-standard-api
Improve performance
2 parents 1e4cfdd + 2d36a03 commit 0bd2d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polyfill/spatnav-heuristic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@
499499
if (isFocusable(thisElement)) {
500500
focusables.push(thisElement);
501501
}
502-
const recursiveFocusables = thisElement.focusableAreas(option);
502+
const recursiveFocusables = thisElement.focusableAreas({mode: 'all'});
503503

504504
if (Array.isArray(recursiveFocusables) && recursiveFocusables.length) {
505505
focusables = focusables.concat(recursiveFocusables);

0 commit comments

Comments
 (0)