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
{{ message }}
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
Need the ability to set an offset for scrollTo method.
I have a fixed nav which locks to the top of the viewport. With the current way the scrollTo method works the top part of active section is covered by this nav.
I've seen some "CSS Only" solutions for this problem in the Issue Archive, but this would is not sufficient. CSS impacts the page's layout, and I don't want a bunch of extra padding above each of my sections in order for the scrolling to work correctly.
It seems like allowing for an option to be passed in when initializing the plugin would be possible. Any chance you can support this?
Thank you.
The text was updated successfully, but these errors were encountered:
Need the ability to set an offset for scrollTo method.
I have a fixed nav which locks to the top of the viewport. With the current way the scrollTo method works the top part of active section is covered by this nav.
I've seen some "CSS Only" solutions for this problem in the Issue Archive, but this would is not sufficient. CSS impacts the page's layout, and I don't want a bunch of extra padding above each of my sections in order for the scrolling to work correctly.
It seems like allowing for an option to be passed in when initializing the plugin would be possible. Any chance you can support this?
Thank you.
The text was updated successfully, but these errors were encountered: