Rocket.Chat.Electron
Rocket.Chat.Electron copied to clipboard
Add members dropdown while creating new team/channel not working properly
Search before asking
- [X] I had searched in the issues and found no similar issues.
Operating System
- [ ] macOS
- [ ] Windows
- [X] Linux
Operating System Version
6.7.4-arch1-1
It happens on the web browser too?
No, it just happens on the Desktop app
Rocket.Chat Desktop App Version
3.9.12
Rocket.Chat Server Version
6.7
Describe the bug
While adding members while creating a team/channel, the dropdown listing all the organization members shows, which does not close upon clicking elsewhere within the "Create Team" dialog box. If the cursor is clicked outside the "Create Team" dialog box or the Esc key is pressed, the dialog box closes altogether. This is annoying as the "Create" button gets hidden behind the dropdown, and it becomes almost impossible to click it.
https://github.com/RocketChat/Rocket.Chat.Electron/assets/29705333/383b4bad-d796-4f78-9367-df239c84f5d0
How to Reproduce
- Click on the Create New Button on the sidebar.
- Click Team or Channel.
- The Dialog box shows.
- Add members.
- The dropdown does not disappear after we've done adding the members or clicking elsewhere.
Describe your Expected behavior
The dropdown should disappear upon clicking elsewhere within the dialog box.
Anything else
No response
Are you willing to submit a code contribution?
- [ ] Yes, I am willing to submit a Pull Request!