Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Create Direct Message" modal does not close when clicking outside and obstructs "Create" button #35375

Open
schourasia750 opened this issue Mar 1, 2025 · 0 comments · May be fixed by #35376

Comments

@schourasia750
Copy link

When using the "Create Direct Message" modal, the dropdown for selecting users does not close when clicking outside of it. Additionally, if there are many suggested users, the dropdown obstructs the "Create" button, making it difficult to proceed. The dropdown does not adjust its position (dropup) when there's insufficient space below.

Steps to Reproduce

Go to the "Direct Messages" section in Rocket.Chat.

Click on the "pencil" icon to create a new direct message.

Click on the user selection input field to open the dropdown.

Attempt to click outside the dropdown.

Expected Behavior

Clicking outside the dropdown should close it.

The dropdown should adjust its position (dropup) when there's not enough space below, ensuring it doesn't obstruct the "Create" button.

Before

Watch the video preview: Google Drive Video

After

Watch the video preview: Google Drive Video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants