Unable to use browser "back" button to return to previous page
See original GitHub issueDescribe the bug Within the learn section of fCC, I am unable to use the browser’s back button to return to an earlier point in the page history. This is a minor issue, and only occurs under specific circumstances, but I wonder if it is indicative of another error in the matrix.
To Reproduce Steps to reproduce the behavior:
- Go to https://www.freecodecamp.org/ or any other fCC page.
- Right click on the /learn button in the
nav
. - Open link in new tab.
- Click on any other link pertaining to the curriculum.
- Be shocked and horrified that navigation history is not available.
Expected behavior Once in the curriculum page, after navigating to any lesson within the same tab, the navigation history should be available to make use of the browser’s back button to return to the curriculum.
Screenshots GIF can be made available, if requested.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version: 80.0.3987.100
Additional context Please note: I am aware that opening a page within a new tab causes the navigation history to reset with that tab. This error occurs within the same tab.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top GitHub Comments
That’s interesting!
It may not be relevant, and I don’t want to distract you, but I noticed that
gatsby serve
does not have this problem, whilezeit/serve
(whatnpx serve
calls) does.I am more and more inclined on moving away from the
zeit/serve
and actually doing a docker based approach from the Gatsby docker image.Thanks for all your investigations Oliver and Hassaan