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

Initial position stuck? #589

Open
pburkindine opened this issue Oct 19, 2019 · 1 comment
Open

Initial position stuck? #589

pburkindine opened this issue Oct 19, 2019 · 1 comment

Comments

@pburkindine
Copy link

pburkindine commented Oct 19, 2019

I am trying to figure out how to have a bottom-sticky element start stuck. Currently if I create a bottom sticky it will not initially be visible until the DOM is scrolled (I am getting around this by quietly scrolling the DOM 2 pixels on page init; not sure why 2px works but 1 doesn't).

Is there a setting or a method I can invoke?

@pburkindine
Copy link
Author

pburkindine commented Oct 19, 2019

The trick of scrolling the window does not work in IE11, by the way; I have not found a workaround that does.

Related and in IE11 only - if I have a sticky element stuck to the top of the screen and perform an action which removes it and shows another sticky element, the new sticky element does not immediately appear until I scroll.

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