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

[Bug]: Sidebar Closes but "Create New" Drawer Persists on Mobile View #35710

Open
Rithvickkr opened this issue Apr 7, 2025 · 1 comment
Open

Comments

@Rithvickkr
Copy link

In the mobile view of the Rocket.Chat app, when the sidebar is opened and the "Create New" button is clicked, the "Create New" drawer component appears as expected. However, clicking anywhere outside these components (e.g., on the main screen) closes the sidebar but leaves the "Create New" drawer open. This inconsistent behavior disrupts the user experience, as both components should ideally close together when clicking outside.

To Reproduce

Steps to reproduce the behavior:

1.Open the Rocket.Chat app in mobile view (e.g., browser dev tools with mobile emulation or on a mobile device).
2.Tap the hamburger menu to open the sidebar.
3.Click the "Create New" button within the sidebar at the top to open the "Create New" drawer.
4.Click anywhere outside both components (e.g., on the main content area).
5.Observe that the sidebar closes, but the "Create New" drawer remains open.

Expected Behavior

Clicking outside the sidebar and "Create New" drawer in mobile view should close both components simultaneously, providing a consistent and intuitive navigation experience.

Actual Behavior

The sidebar closes, but the "Create New" drawer stays visible, requiring an additional action (e.g., clicking a close button or back) to dismiss it.
Environment

Am i working on this?
YES

newairoom.-.test.-.Google.Chrome.2025-04-07.17-41-01.online-video-cutter.com.1.mp4
@Rohitkumar2003
Copy link

Thank you for reporting this issue. I’ve tested the described behavior on multiple browsers and devices in mobile view (using both browser dev tools and actual mobile devices), but I wasn't able to reproduce the problem.

Here’s what I observed:

After tapping on the hamburger menu, the sidebar opens as expected.

Clicking the "Create New" button successfully opens the drawer component.

When clicking anywhere outside these components (on the main content area), both the sidebar and the "Create New" drawer close together, which seems to be the intended behavior.

I tested this on:

Chrome (mobile view via dev tools and Android device)

Firefox (mobile view via dev tools)

Safari on iOS

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

No branches or pull requests

2 participants