Open LukePrior opened 1 week ago
We shouldn't close the site when user navigates back on mobile if menu is open.
Instead just close the menu, existing behaviour can be maintained for when the menu isn't open.
Se potential approach: https://stackoverflow.com/questions/25806608/how-to-detect-browser-back-button-event-cross-browser
https://github.com/projecthorus/sondehub-tracker/assets/22492406/de3c1103-f446-4ed4-893a-89466fac0418
We shouldn't close the site when user navigates back on mobile if menu is open.
Instead just close the menu, existing behaviour can be maintained for when the menu isn't open.
Se potential approach: https://stackoverflow.com/questions/25806608/how-to-detect-browser-back-button-event-cross-browser
https://github.com/projecthorus/sondehub-tracker/assets/22492406/de3c1103-f446-4ed4-893a-89466fac0418