sticky-position
sticky-position copied to clipboard
A `position: sticky` polyfill that's dependency-free, and does not modify the DOM tree, i.e., React-friendly.
Thanks for the help! Thomas
I have added a `favorPolyfill` option that cause the polyfill function instead of the native implementation of `position: sticky` regardless of whether it is supported or not. This is useful...
This fix sets the top to a maximum of the wrapper's container height, minus the height of the primary element. In other words, the primary cannot move beyond its parent...
Hey @jackmoore thanks for the great little pollyfill! I have a slight problem with it - I am using a long container to stick a block of content to the...