Skip to content

Commit

Permalink
Merge pull request #7 from AdmitHub/revert-escape-change
Browse files Browse the repository at this point in the history
Undo change to Escape behavior
  • Loading branch information
neckenth authored Jan 10, 2023
2 parents 5b5d06a + 61f0462 commit 2680c79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hooks/useKeyboardNavigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ function usePickerMainKeyboardEvents() {
event.preventDefault();
if (hasOpenToggles()) {
closeAllOpenToggles();
event.stopPropagation()
return;
}
clearSearch();
scrollTo(0);
focusSearchInput();
event.stopPropagation()
break;
}
},
Expand Down

0 comments on commit 2680c79

Please sign in to comment.