filamentgroup / fixed-sticky

DEPRECATED: A position: sticky polyfill that works with filamentgroup/fixed-fixed for a safer position:fixed fallback.
MIT License
1.49k stars 153 forks source link

Update README.md to reflect Chrome support. #117

Closed matthewmcvickar closed 7 years ago

matthewmcvickar commented 7 years ago

The latest version of Chrome as of 2017-02-10 has brought back position: sticky and it is enabled without flags.

position: sticky is back - making it easy to create elements that scroll normally until sticking to the top of the viewport.

See also:

It does work on display: inline-block as demonstrated here: https://jsfiddle.net/ng9jn5mf/6/

It still does not work on <thead> or <tfoot> as also demonstrated here: https://jsfiddle.net/ng9jn5mf/6/


I also made the formatting of position: sticky consistent in the README (rather than position:sticky without a space between the property and the value).

mwld commented 7 years ago

FYI: Chrome 56 added support for position: sticky even for table elements. (https://developers.google.com/web/updates/2017/01/nic56)