Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 659 Bytes

readme.md

File metadata and controls

18 lines (11 loc) · 659 Bytes

Deprecated

I feel like browser support for position:sticky is now good enough that I no longer plan to polyfill the feature my projects. Feel free to use this, just know that I don't plan on reaching full compatibility with position:sticky.

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