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

Only start sticking from bottom of screen? #34

Open
simplenotezy opened this issue Apr 21, 2020 · 0 comments
Open

Only start sticking from bottom of screen? #34

simplenotezy opened this issue Apr 21, 2020 · 0 comments

Comments

@simplenotezy
Copy link

Is there a way so that I can make the element sticky, first when the element hits the bottom of the viewport?

Currently, when the element is sticky from, I guess "top", it blocks the information inside the element that goes below the fold, from being seen - unless you scroll all the way down till it reaches it's container bottom.

Bottom elements of sticky element not visible:
image

Once you scroll down till it reaches it's container, the bottom contents of the sticky element is then visible:
image

I think a solution could be to have it only become sticky, once you scrolled down to the bottom of the sticky element, if that makes sense.

Not sure if it is possible with this library?

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

No branches or pull requests

1 participant