You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first image has no hash set, whereas the 2nd, 3rd, etc has image2, image3, etc. Leading to URLs such as mysite.com/, mysite.com/#image2, mysite.com/#image3.
If I type mysite.com/#about-us (which is not one of the gallary images) into my address bar the page does not scroll down to the correct section, instead the address bar quickly gets re-written to just mysite.com. Interesting if I then append #about-us in the address bar, and hit enter, it seems to work as intended.
Expected Behaviour
The library respects the hash, and allows the browser to scroll to the appropriate section of the page.
The text was updated successfully, but these errors were encountered:
Checks
Version
0.3.0
Description
On first load, the address bar is re-written to remove a anchor that is not one of the image hashes.
E.g mysite.com/#about-us, is re-written to just mysite.com/ and thus the browser does not scroll down to the about-us section.
Reproduction Link
No response
Steps to Reproduce
I have the following:
The first image has no hash set, whereas the 2nd, 3rd, etc has image2, image3, etc. Leading to URLs such as mysite.com/, mysite.com/#image2, mysite.com/#image3.
If I type mysite.com/#about-us (which is not one of the gallary images) into my address bar the page does not scroll down to the correct section, instead the address bar quickly gets re-written to just mysite.com. Interesting if I then append #about-us in the address bar, and hit enter, it seems to work as intended.
Expected Behaviour
The library respects the hash, and allows the browser to scroll to the appropriate section of the page.
The text was updated successfully, but these errors were encountered: