Bug Description
When a user opens the Create Custom Lobby panel from the Friend Challenge section and then presses the browser's back button, the panel does not close as expected. Instead, the application navigates directly to another page (such as Arena Home or a previous route), resulting in inconsistent navigation behavior.
Steps to Reproduce
- Navigate to the Arena Home page.
- Open the Friend Challenge section.
- Click Create Custom Lobby.
- Wait for the custom lobby panel/card to open.
- Press the browser's Back button.
- Observe the navigation behavior.
Expected Behavior
Pressing the browser's back button should close the Create Custom Lobby panel and return the user to the previous Friend Challenge view while remaining on the current Arena page.
Actual Behavior
The browser's back button does not close the Create Custom Lobby panel. Instead, it navigates away from the current view and redirects the user to another page, causing unexpected navigation behavior.
Environment
OS: Windows 11 Browser: Chrome (latest version) Node.js: N/A (Frontend routing/history issue)
Code of Conduct
Bug Description
When a user opens the Create Custom Lobby panel from the Friend Challenge section and then presses the browser's back button, the panel does not close as expected. Instead, the application navigates directly to another page (such as Arena Home or a previous route), resulting in inconsistent navigation behavior.
Steps to Reproduce
Expected Behavior
Pressing the browser's back button should close the Create Custom Lobby panel and return the user to the previous Friend Challenge view while remaining on the current Arena page.
Actual Behavior
The browser's back button does not close the Create Custom Lobby panel. Instead, it navigates away from the current view and redirects the user to another page, causing unexpected navigation behavior.
Environment
OS: Windows 11 Browser: Chrome (latest version) Node.js: N/A (Frontend routing/history issue)
Code of Conduct