fix(status_list): Use correct keys for keyboard navigation (#4487)
This commit is contained in:
parent
0c10b35c11
commit
9fc6c974f6
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ export default class StatusList extends ImmutablePureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleKeyDown = (e) => {
|
handleKeyDown = (e) => {
|
||||||
if (['PageDown', 'PageUp', 'End', 'Home'].includes(e.key)) {
|
if (['PageDown', 'PageUp'].includes(e.key) || (e.ctrlKey && ['End', 'Home'].includes(e.key))) {
|
||||||
const article = (() => {
|
const article = (() => {
|
||||||
switch (e.key) {
|
switch (e.key) {
|
||||||
case 'PageDown':
|
case 'PageDown':
|
||||||
|
|
Loading…
Reference in a new issue