Skip to content

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

Closed
itsmattsoria wants to merge 2 commits into
zurb:masterfrom
itsmattsoria:master
Closed

Adding a scrollOffset option to the settings for fixed headers#149
itsmattsoria wants to merge 2 commits into
zurb:masterfrom
itsmattsoria:master

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.

@itsmattsoria

Copy link
Copy Markdown
Author

Switched pull request to feature branch scroll-offset, closing and moving to #150

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