When using ApplyRoute, the browser updates its route to a new page, allowing the user to see, copy, and paste URLs, among other actions. However, when the user presses the back button on the browser, nothing happens, which can lead to navigation issues. For example, on mobile devices, it is much more common for users to press the back button to return to the previous URL rather than clicking links on the page.
Proposal: When the user presses the back button on the browser, apply the previous route from the history stack.
Additional Suggestion: It would also be beneficial to use the route system when opening a new window. On mobile devices, the most common action to dismiss a modal is pressing the browser's back button.
When using ApplyRoute, the browser updates its route to a new page, allowing the user to see, copy, and paste URLs, among other actions. However, when the user presses the back button on the browser, nothing happens, which can lead to navigation issues. For example, on mobile devices, it is much more common for users to press the back button to return to the previous URL rather than clicking links on the page.
Proposal: When the user presses the back button on the browser, apply the previous route from the history stack.
Additional Suggestion: It would also be beneficial to use the route system when opening a new window. On mobile devices, the most common action to dismiss a modal is pressing the browser's back button.