question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to use browser "back" button to return to previous page

See original GitHub issue

Describe 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:

  1. Go to https://www.freecodecamp.org/ or any other fCC page.
  2. Right click on the /learn button in the nav.
  3. Open link in new tab.
  4. Click on any other link pertaining to the curriculum.
  5. 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:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
ojeytonwilliamscommented, Feb 20, 2020

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, while zeit/serve (what npx serve calls) does.

1reaction
raisedadeadcommented, Feb 20, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Browser Back Button Not Working
If the back arrow is still not working, try resetting your browser. To revert your browser to default settings, go to Settings and...
Read more >
Why does my Internet back button sometimes not work?
To get back to your previous window, close the new tab, or click the earlier tab, located to the left of the new...
Read more >
Browser Back Button not working on Windows PC
Browser Back Button not working on Windows PC · 1] Clear the browser cache · 2] Skip the redirecting addresses · 3] Disable...
Read more >
Why is it that on certain websites you can't use the back button ...
This means there is no other URL to go back to, so clicking back takes you to the previous site - not the...
Read more >
Troubleshooting Browser Back Button Not Working?
Answer. First, make sure that the back button is actually enabled in your browser. You can usually do this by checking your browser's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found