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

calculating error when scrollEl is not on the top of the document #529

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

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/PrYpgY
It goes wrong when I add a green block above the main block, the js-is-sticky class was not added until it scrolled 100px, whitch is exactely the height of the green box.

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