From 0ec91bb5b44534d6ec06c052b88e005e31967924 Mon Sep 17 00:00:00 2001 From: GleidsonDaniel Date: Fri, 19 Jan 2024 13:17:23 -0300 Subject: [PATCH] chore: toggle filter dropdown after select an option Co-authored-by: Sanjay Sargam --- app/views/ThreadMessagesView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/ThreadMessagesView/index.tsx b/app/views/ThreadMessagesView/index.tsx index 2769b3302..b57c21708 100644 --- a/app/views/ThreadMessagesView/index.tsx +++ b/app/views/ThreadMessagesView/index.tsx @@ -424,7 +424,7 @@ class ThreadMessagesView extends React.Component { const { messages, subscription } = this.state; const displayingThreads = this.getFilteredThreads(messages, subscription, filter); - this.setState({ currentFilter: filter, displayingThreads }); + this.setState({ currentFilter: filter, displayingThreads, showFilterDropdown: false }); }; toggleFollowThread = async (isFollowingThread: boolean, tmid: string) => {