sticky-position

A position: sticky polyfill that's dependency-free and does not modify the DOM tree, i.e., React-friendly. See react-sticky-position for the React component.

Usage no npm install needed!

<script type="module">
  import stickyPosition from 'https://cdn.skypack.dev/sticky-position';
</script>

README

Summary

A position: sticky polyfill that's dependency-free and does not modify the DOM tree, i.e., React-friendly. See react-sticky-position for the React component.

Demo

Todo

Install via NPM
npm install sticky-position

Released under the MIT License