[Accessibility] Add hotkeys PageUp and PageDown for list navigation (#39252)
This commit is contained in:
1 parent
65622a52e1
commit
ce3fdf73f3
5 files changed
+39
-21
No files matched your search
@@ -508,7 +508,8 @@ class UI extends PureComponent {
|
||||
if (currentItemIndex === -1) {
|
||||
focusColumn(1);
|
||||
} else {
|
||||
focusItemSibling(currentItemIndex, -1);
|
||||
const wasHandled = focusItemSibling(currentItemIndex, -1);
|
||||
return wasHandled;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -517,7 +518,8 @@ class UI extends PureComponent {
|
||||
if (currentItemIndex === -1) {
|
||||
focusColumn(1);
|
||||
} else {
|
||||
focusItemSibling(currentItemIndex, 1);
|
||||
const wasHandled = focusItemSibling(currentItemIndex, 1);
|
||||
return wasHandled;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user