Merge pull request #4923 from matrix-org/joriks/room-list-focus-search
Focus room filter on openSearchpull/21833/head
commit
fb6791e221
|
@ -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…
Reference in New Issue