Merge pull request #4923 from matrix-org/joriks/room-list-focus-search
Focus room filter on openSearch
This commit is contained in:
commit
fb6791e221
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ export default class RoomSearch extends React.PureComponent<IProps, IState> {
|
||||||
|
|
||||||
private openSearch = () => {
|
private openSearch = () => {
|
||||||
defaultDispatcher.dispatch({action: "show_left_panel"});
|
defaultDispatcher.dispatch({action: "show_left_panel"});
|
||||||
|
defaultDispatcher.dispatch({action: "focus_room_filter"});
|
||||||
};
|
};
|
||||||
|
|
||||||
private onChange = () => {
|
private onChange = () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue