Skip to content

Commit

Permalink
Prevent search icon focus on close
Browse files Browse the repository at this point in the history
Fixes issue where closing via keydown causes the icon to become focused, which is confusing behavior
  • Loading branch information
gabrielliwerant committed Feb 29, 2020
1 parent 4f83609 commit 3505fcb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/TableToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ class TableToolbar extends React.Component {
showSearch: false,
searchText: null,
}));

this.searchButton.focus();
};

handleSearch = value => {
Expand Down

0 comments on commit 3505fcb

Please sign in to comment.