garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

Adding scroller call on resize #214

Open whoacowboy opened 8 years ago

whoacowboy commented 8 years ago

When resizing window the element does not stick if it goes above the top of the browser.

I added the double call, there may be a more elegant way to fix this, but this resolved the issue for me.