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 2, 2024
1 parent 74107e5 commit 3ab72d1
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 3ab72d1

Please sign in to comment.