-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Router.back() and history.back() is not working (popstate
event triggered but event.state
.....)
#29177
Comments
popstate
event triggered but event.state
did not have url
or as
https://err.sh/zeit/next.js/popstate-state-empty overrideMethod @ react_devtools_backend.js:4049 Router.onPopState @ router.js:106)popstate
event triggered but event.state
.....)
popstate
event triggered but event.state
.....)popstate
event triggered but event.state
.....)
Hi, this should be working correctly in the latest version of Next.js |
I'm upgrade my next version to v11.1.2 but I have new error in console. @ijjk output |
Hmm are you seeing the same error in the latest canary |
Yes, I have this version. @ijjk |
Can you share the contents of the page you are seeing this error on? |
Oh this does look related to #28423 I would recommend against returning |
I updated to the latest version of Next.Js. Currently there is no error in the console (browser and terminal), but the browser's back button does not work. The URL is updated but the content does not change. :( @ijjk |
Hi, can you provide a repo with a minimal reproduction? This is most like related to user code and will require more information to provide further assistance. |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
9.3.5
What version of Node.js are you using?
v10.18.0
What browser are you using?
Chrome
What operating system are you using?
macOs
How are you deploying your application?
other platform
Describe the Bug
I am using Router.push. And when using this method page is opening. It's working. But when use browser back button, Router.back or history.push() is updating URL but not navigating to it in browser and page is not opening. But page URL is updating.
"next-routes": "^1.4.2",
Expected Behavior
Changing the URL, opening the page
To Reproduce
use browser back button
The text was updated successfully, but these errors were encountered: