Hello everyone,
I hope you're all doing well. I'm currently working on implementing a navigation drawer for my app, and I've run into a bit of a snag. I'm hoping someone here might be able to provide some guidance.
The issue I'm facing is that when I press the back button on my device, the app takes me back to the previous page as expected, but the navigation drawer remains open. Ideally, I'd like the navigation drawer to close automatically when the back button is pressed, so that the user isn't presented with an open drawer on the previous screen.
Has anyone encountered a similar issue before or knows how to properly handle this situation?
Thanks a lot