From 70c1bf3e5c1e305ed177b0b28194e66d51d0ee8b Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Wed, 8 Jul 2020 00:25:43 +0100 Subject: [PATCH] Focus room filter on openSearch --- src/components/structures/RoomSearch.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/RoomSearch.tsx b/src/components/structures/RoomSearch.tsx index 15f3bd5b54..861549bef4 100644 --- a/src/components/structures/RoomSearch.tsx +++ b/src/components/structures/RoomSearch.tsx @@ -81,6 +81,7 @@ export default class RoomSearch extends React.PureComponent { private openSearch = () => { defaultDispatcher.dispatch({action: "show_left_panel"}); + defaultDispatcher.dispatch({action: "focus_room_filter"}) }; private onChange = () => {