OS Back Button Exits Instead of Returning
is-lucky opened this issue · comments
Describe the bug
After using the drop-down hamburger menu to access "Tutorials", "Podcasts", or "Code Radio" if the mobile’s built-in back button is pressed it exits the application rather than returning to the home page ("Learn").
To Reproduce
Steps to reproduce the behavior:
- Go to the three-line 'hamburger' menu in the upper left corner of the app
- Click on any of TUTORIALS, PODCASTS, or CODE RADIO
- Click on the mobile OS's built-in back button option
- See error
Expected behavior
Using the back button from any of the above pages should take the user to the page they were previously on (LEARN).
Smartphone (please complete the following information):
- Device: Samsung Galaxy S9
- OS: Android version 10
- freeCodeCamp mobile app
- Version 4.1.7
Hey @is-lucky,
Thank you for taking the time to create an issue for this. Although this behaviour is not best practice, this is the desired behaviour.
This decision was made to save memory on the phone and ensure that Learn is running soothly.
Thank you for your understanding and happy coding!