Open aliceisjustplaying opened 9 months ago
@aliceisjustplaying ,sorry but i not get what problem you are getting can you please bit explain it and as you mention in expected behavior it works same as i see.
@Chetax here is a screen recording, Chrome in Guest mode which is as vanilla as it can get
https://github.com/vercel/next.js/assets/81575558/c408dae3-8af7-4bbc-b039-75bffb88ff3f
Yes @aliceisjustplaying i understand. If Your Sign In With Your Account In Crome Then This Error Is Not Get Seen But When We Use incognito mode or Guest Mode Then This Error Get Occurs. Okay Let Us Figuring Out.
No, this error very much happens in my Chrome version when signed in as well.
@aliceisjustplaying As I Login In Crome It Not Showing Me error But When I Use Incognito Mode It Does Show Error.
https://github.com/vercel/next.js/assets/99749401/55d07c30-cb11-4bf2-ab97-787857a26bbd
I have the same error on a website deployed on Netlify. A button navigates with a Link element (router.push has same behavior) to another page, I press back button then try to go to the same page again and nothing happens.
@oscarsson444 ah, good to know I'm not alone.
same here :)
Edit by maintainers: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!
Iam facing the same issue, both with the useRouter
as with <Link>
component.
Interesting: For me it only works without incognito mode in chrome, if I enable it it does not work, for my colleague its the exact other way around!
We are facing the same issue. For me it is consistently failing in one Chrome profile and working in another Chrome profile (different account, same chrome extensions).
@Diabl0570 @ducofronik are you guys also using a middleware and wildcard domains?
@aliceisjustplaying, I do use middleware yes, but im not 100% sure what you main by wildcard domains? We do use wildcard in the middelware matcher, images remotePatterns and in the rewrites / redirects.
I am experiencing the same behaviour when deploying to Vercel with NextJS 14.0.4.
Link to the code that reproduces this issue
https://github.com/aliceisjustplaying/broken-next-link-repro
To Reproduce
This bug hinges on a few things:
(Yes I know this may be considered bad practice. It should still work and it used to.)
Current vs. Expected behavior
Current: When I click a link, use the back button and click the same link again, nothing happens Expected: When I click a link, use the back button and click the same link again, it works
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
App Router, Middleware / Edge (API routes, runtime), Routing (next/router, next/navigation, next/link)
Additional context
I've binary searched the canaries to find when this broke and it happened somewhere between v14.0.3-canary.5 and v14.0.3-canary.6 if I got it right. Looking at the commits, I think I did, though I don't know what exactly breaks this.