Skip to content

Commit

Permalink
fix: move focus on (one case of) close search
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Wizard committed Apr 28, 2023
1 parent 63c4196 commit 7dca133
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ export default function ListBoxSearch({
if (e.ctrlKey || e.metaKey) {
if (hide) {
hide();
// Focus the row we last visited or the first one.
focusRow(container);
}
} else {
return undefined;
Expand Down

0 comments on commit 7dca133

Please sign in to comment.