-
Notifications
You must be signed in to change notification settings - Fork 687
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
Relative link when current location has #hash triggers a reload while it doesn't with no #hash or empty # #579
Comments
Could it be that the I am hitting the following infinite loop when clicking on an anchor that changes the hastag. Uncaught RangeError: Maximum call stack size exceeded.
at Page.unhandled (page.js:1056)
at nextEnter (page.js:712)
at eval (page.js:1183)
at nextEnter (page.js:713)
at eval (page.js:1183)
at nextEnter (page.js:713)
at eval (page.js:1183)
at nextEnter (page.js:713)
at eval (page.js:1183)
at nextEnter (page.js:713) And also the following line is only taking into account Line 643 in 4f99916
|
If you are calling Please see lines 551 and 552 of page.js. Line 552 should have been put before line 551, or at the very least there should have been a way to set it to true. I had to modify page.js for my website to work properly, but fortunately it was easy to modify. |
I'm not sure I exactly understand your problem, but perhaps you can look at this answer and see if it applies. |
Setup
Two routes will render different pages:
Problem
If on page
/fruits/banana#calories
you click on a link href"/veggies/tomato"
(no other attribute), the page will reload. No problem with either/fruits/banana#
or/fruits/banana
. Sounds like an issue with handling hash?The text was updated successfully, but these errors were encountered: