New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Back" link behaves differently for hashtag searches #3366
Comments
That is problematic especially for single-column layout. |
There seem to be a couple of problems with the "Back" link:
IMHO, fixing all this mess would be an attrition war with react-router. As a liter alternative for a fix, I suggest following:
|
I corrected the difference between the two back buttons in #3207, but the issue with going back to non-web-UI history (#3515) is harder. React router does not store its own history, the browser history does not reveal what the items in the history stack are (only the length), so there is no way to tell if we're going back to a route in the web UI or a completely different website. The solution to that would be to add a listener to the browser history to manually record the history stack and use that for navigating "back" |
As I mentioned on #2593, the behavior of the "Back" link at the top of the rightmost column is usually to go back to the previous view, whatever that was. In this it behaves just like the browser's back button. For hashtag searches though (regardless of whether it was opened from the rightmost column itself or a different one), the "Back" link at the top instead goes to the default "getting-started" view (adding a new page to the browser history instead of moving back one page). I think this is a bug.
The text was updated successfully, but these errors were encountered: