-
Notifications
You must be signed in to change notification settings - Fork 27.7k
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
Spurious "Invalid href passed to router" with Next 9.1.5 #9782
Comments
Unfortunately it's close to impossible to help without a reproduction. |
Hi, in our case this resulted as all the links becoming unclickable on IOS10 and iOS11 devices due to the above mentioned error "invalid href passed to router". We did not notice it immediately, but got it reported from our users. I think this should be possible to reproduce. Downgrading helped us, now waiting for this bug to get fixed before considering upgrading. |
So that means you can provide a reproduction? As there is no reproduction provided. |
Oh, my bad. Here are steps for reproduction:
|
@olpeh I am indeed experiencing the same issue with Next.js 9.1.5+ and not with 9.1.4. @timneutkens I will try to provide a reproduction repo as soon as possible. |
Hi @timneutkens Here is a reproduction repository: https://github.com/ccambournac/aria For confidentiality purposes, it is made private. It is a big project, however, so please don't focus on anything else than the present issue :) To reproduce:
Disabling When using Next.js 9.1.4, errors do not occur any more. Thank you very much for your help. |
I had to downgrade two of my sites to next.js 9.1.4 after discovering that links are not working anymore with some older browsers. To reproduce:
Using iOS Safari 10, no link is working. |
Same as #9851 |
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. |
Bug report
Describe the bug
When attempting to upgrade to Next 9.1.5, our app crashes as soon as we attempt to use the router.
router.replace('/testing/foo')
results in an error saying "invalid href passed to router".To Reproduce
Unfortunately this happens in our private repo.
Expected behavior
Router redirects to the correct destination
Screenshots
System information
Additional context
This may be an issue with trailing dependencies as we have not been able to upgrade all the dependencies that Next 9.1.5 uses.
The text was updated successfully, but these errors were encountered: