sticky
sticky copied to clipboard
If scrolling when sticky element is hidden means element can become fixed at the wrong time
Hi,
I had a problem on my website where if I scrolled down before revealing/un-hiding (it is defaulted to "display: none" and I have a jquery slideToggle) the element containing my sticky div, the sticky div might incorrectly appear at the top of the window once I did reveal it.
I fixed the issue. It was only a small change... However, I am new to GitHub (and git, for that matter) and I'm not entirely sure how I can request to get this fix put back into the repo...
How did you fix the issue?
@LukeTim how did you fix this?