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 Dec 15, 2018. It is now read-only.
I have a toggable area above the sticky section. When the toggled area are hidden (default) everything works fine. But when toggled open the element that should be sticky get pushed down and when scrolling down it switches to fixed to early. Which I assume is because it doesn't recalculate it's initial position.
Any way to fix this without having to check for dom-changes and destroy re-initiate everytime?
The text was updated successfully, but these errors were encountered:
Would love to see a solution to this. Fixed-sticky elements "jump" to the top of the page too early with an implementation that's even simpler and more commonplace: asynchronously-loaded ads (for which a height is not known until the ad is loaded, which seems to happen after fixed-sticky has been initialized).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a toggable area above the sticky section. When the toggled area are hidden (default) everything works fine. But when toggled open the element that should be sticky get pushed down and when scrolling down it switches to fixed to early. Which I assume is because it doesn't recalculate it's initial position.
Any way to fix this without having to check for dom-changes and destroy re-initiate everytime?
The text was updated successfully, but these errors were encountered: