sticky-js
sticky-js copied to clipboard
Sticky top position
It would be great if you could allow the update/change of the margin top position. I have a sticky element that needs to stick to a header, but this header's height is smaller on mobile.
Thanks, Tom
+1
And/or add an extra data-attribute for being an 'offset' element or an element that comes before the sticky element and its height has to be (observed and) used for the offset.