Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "offset" option #17

Merged
merged 2 commits into from
May 17, 2018
Merged

Add "offset" option #17

merged 2 commits into from
May 17, 2018

Conversation

weotch
Copy link
Contributor

@weotch weotch commented May 7, 2018

Adds an offset option that accepts a number that gets added to the calculated desiredOffset. This is useful when passing a DOM object as the desiredOffset and wanting to adjust for an fixed nav or to add some padding.

@Stanko
Copy link
Owner

Stanko commented May 17, 2018

Hello @weotch,
Sorry for the late response, I totally missed this PR. Thank you, I think we should merge it, but I will revert changes on package.json and yarn.lock.

Cheers!

@Stanko Stanko merged commit cefec91 into Stanko:master May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants