You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.
Agreed - this is an issue with our implementation. We used this library for a templated navbar that is sometimes transparent bg when at the top, then fades in when the stickyClass gets applied. But when the sticky element is placed at the top of the page, the stickyClass isn't applied as it should be - this library assumes that we meant to just do a fixed:0 position and disables the rest of the functionality.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
sticky-js/src/sticky.js
Lines 253 to 262 in 0a0dca4
prevents sticky-js from applying stickyClass.
It's easy to workaround that (by setting
top:1px; position:relative;
) but i don't see the point of that use case. Is it possible to remove it ?The text was updated successfully, but these errors were encountered: