Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

stickyStop error when custom scrollEl and the content has large scroll content #530

Open
athena0304 opened this issue Jun 10, 2019 · 0 comments

Comments

@athena0304
Copy link
Contributor

Requested Update

Why Is This Update Needed?

Are There Examples Of This Requested Update Elsewhere?

https://codepen.io/athena0304/pen/qzWpqP
In this demo, I enlarged the height of article, as scrolling down, the sticky element became to be js-is-stuck so early, which was supposed to be js-is-sticky.
So I suppose to change parentBottom's parent.offsetHeight to parent.scrollHeight

Read about references issues here. Provide paragraph text responses to each header.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant