Skip to content

Adding a scrollOffset option to the settings for fixed headers - #150

Open
itsmattsoria wants to merge 3 commits into
zurb:masterfrom
itsmattsoria:scroll-offset
Open

Adding a scrollOffset option to the settings for fixed headers#150
itsmattsoria wants to merge 3 commits into
zurb:masterfrom
itsmattsoria:scroll-offset

Conversation

@itsmattsoria

Copy link
Copy Markdown

I'm using Joyride on an application with a fixed header, and needed to be able to offset the scrollTop so that when scroll is set to true, tips that are at the top of the main container wouldn't be scrolled to (underneath the fixed header). I added a scrollOffset option to the settings, which is defaulted to 0. I thought this would be a pretty common scenario that others would benefit from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant