Skip to content

Commit

Permalink
Merge pull request #4923 from matrix-org/joriks/room-list-focus-search
Browse files Browse the repository at this point in the history
Focus room filter on openSearch
  • Loading branch information
JorikSchellekens committed Jul 8, 2020
2 parents 536238a + 8679d90 commit fb6791e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/structures/RoomSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default class RoomSearch extends React.PureComponent<IProps, IState> {

private openSearch = () => {
defaultDispatcher.dispatch({action: "show_left_panel"});
defaultDispatcher.dispatch({action: "focus_room_filter"});
};

private onChange = () => {
Expand Down

0 comments on commit fb6791e

Please sign in to comment.