[Bug] I want to close drop down menus when the modal for edition/password is closed
Closed this issue · 0 comments
Describe the bug
When searching a channel or going to a channel's options, the drop down menu opens and it's not closed after the second modal for channel's edition or password validation is closed (because it's currently done on outside click, it should also executes when the modals close)
Steps to reproduce
Search a protected channel > the password modal opens > enter a valid password > enter the channel, the drop down of the search is still active and the input is still active (should be reset ideally)
OR
Open a channel's option > go to edit > edit the channel > the channel is edited but the menu is still opened (should be closed)
Expected behavior
drop down menus should closed with modal's validation
Environment
No response
OS
No response
Browser
No response
Version
No response
Additional context
No response
Relevant log output
No response