sticky-js icon indicating copy to clipboard operation
sticky-js copied to clipboard

Sticky element disappears after scrolling past a certain point

Open davejtoews opened this issue 7 years ago • 2 comments

I'm not sure if this is a feature or a bug, but I'd like to disable or at least fine tune it. Even on your demo page this occurs. As I scroll down the page the element will eventually unsticky itself and get scrolled away. Inspecting the element shows me that the top attribute will hold steady as I scroll down but then suddenly drop and keep dropping past zero into negative values the further I scroll.

screen shot 2017-03-01 at 1 49 30 pm

davejtoews avatar Mar 01 '17 20:03 davejtoews

I should note that on my own site the element disappears sooner (i.e. at a smaller scroll position) the shorter the browser window is.

davejtoews avatar Mar 01 '17 20:03 davejtoews

can confirm this is still happening

adrianyadav avatar Jul 09 '20 09:07 adrianyadav