1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Merge pull request #4923 from matrix-org/joriks/room-list-focus-search

Focus room filter on openSearch
This commit is contained in:
Jorik Schellekens
2020-07-08 15:20:08 +01:00
committed by GitHub

View File

@@ -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 = () => {