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

Added ability to use the parent's offset in order to calculated whether element was stuck #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mcblum
Copy link

@mcblum mcblum commented Mar 28, 2018

In our use case we had a container element which had a few children. One of those children was supposed to stick because it was the most important of the features. I added an input to specify whether you want to use the element's offset or the element's parent's offset when calculating whether the element should be stuck or not.

@mcblum
Copy link
Author

mcblum commented Mar 28, 2018

@jonasmedeiros yo! to be honest this is my very first pull request. Let me know if I got it right :)

@jonasmedeiros
Copy link
Owner

@mcblum I will check your PR thanks contribution

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.

None yet

2 participants