Skip to content

Drawer should close automatically when navigating to a new screen #628

@chetanr25

Description

@chetanr25

Describe your issue

When navigating to sections like Profile, Reports, or Settings from the side drawer, the drawer does not close automatically. This causes it to remain open in the background. As a result, when a user presses "Back" from one of these screens, they return to find the drawer still covering the home screen instead of seeing the main content.

Steps to reproduce

  1. Click on drawer icon
  2. Click on Profile, Reports, or Settings
  3. Navigate back and you can see the issue

What was the expected result?

The navigation drawer should close automatically when a menu item is tapped. When navigating back to the home screen, the drawer should be closed rather than remaining open on top of the content.

Put here any screenshots or videos (optional)

FILE.2026-03-15.18.55.12.mp4

How can we contact you (optional)

Github | Linkedin | chetanr25.in

Would you like to work on this issue?

Yes

By submitting this issue, I have confirmed that:

  • I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions