Skip to content

Commit

Permalink
fix(SelectTypeahead example): don't focus on first item after tabbing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed Apr 16, 2024
1 parent 126b008 commit e3ab187
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ export const SelectTypeahead: React.FunctionComponent = () => {
setIsOpen((prevIsOpen) => !prevIsOpen);
resetActiveAndFocusedItem();

break;
case 'Tab':
case 'Escape':
closeMenu();
break;
case 'ArrowUp':
case 'ArrowDown':
Expand Down

0 comments on commit e3ab187

Please sign in to comment.