FilterBar: Do not trap Tab, Home/End keys
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
98e11bbb37
commit
5e31c12063
1 changed files with 0 additions and 13 deletions
|
@ -64,19 +64,6 @@ export default class FilterBar extends React.PureComponent {
|
|||
case 'ArrowLeft':
|
||||
element = items[index-1] || items[items.length-1];
|
||||
break;
|
||||
case 'Tab':
|
||||
if (e.shiftKey) {
|
||||
element = items[index-1] || items[items.length-1];
|
||||
} else {
|
||||
element = items[index+1] || items[0];
|
||||
}
|
||||
break;
|
||||
case 'Home':
|
||||
element = items[0];
|
||||
break;
|
||||
case 'End':
|
||||
element = items[items.length-1];
|
||||
break;
|
||||
}
|
||||
|
||||
if (element) {
|
||||
|
|
Loading…
Reference in a new issue