flamethrower icon indicating copy to clipboard operation
flamethrower copied to clipboard

Unable to get out of the site using browser's navigation button

Open dhirajgagrai opened this issue 2 years ago • 1 comments

After serving it on http://localhost:3000, I manually typed the URL and it loaded the example site.

I can get out of this site if I press the back button now. But if I click on About and then try to do the same it fails to get me out.

The back button is highlighted but is not working.

dhirajgagrai avatar Aug 20 '22 16:08 dhirajgagrai

I have fixed this issue. Problem was, that on the history popstate event, a new history item was pushed. so you never could actually go back in the history.

prowebat avatar Aug 22 '22 07:08 prowebat