d4nyll / smartscroll

jQuery plugin for scrolljacking and auto-hashing

Home Page:https://d4nyll.github.io/smartscroll/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable headerHash?

impartdan opened this issue · comments

Is it possible to not use the headerHash?

Do you get any "jumpy" behaviour when using it?

I considered this while writing the library 2 years ago, but because # means 'go to the top of the page', so if you use hash values you should specify the headerHash otherwise it would jump a bit.

headerHash - (String) The hash for the section above the sections, must be non-empty to reliably ensure the page do not jump when updating the hash value across browsers (as # means _top)

If you have any ideas on how to mitigate this issue please comment here!