All Projects → filamentgroup → Fixed Sticky

filamentgroup / Fixed Sticky

Licence: mit
DEPRECATED: A position: sticky polyfill that works with filamentgroup/fixed-fixed for a safer position:fixed fallback.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Fixed Sticky

Sticky State
StickyState is a high performant module making native position:sticky statefull and polyfilling the missing sticky browser feature
Stars: ✭ 692 (-53.56%)
Mutual labels:  polyfill, scrolling, sticky
Stickyfill
Polyfill for CSS `position: sticky`
Stars: ✭ 2,252 (+51.14%)
Mutual labels:  polyfill, scrolling
Scroll Into View If Needed
Element.scrollIntoView ponyfills for things like "if-needed" and "smooth"
Stars: ✭ 811 (-45.57%)
Mutual labels:  polyfill, scrolling
react-sticky-headroom
A React Component to hide a Header using CSS sticky position
Stars: ✭ 22 (-98.52%)
Mutual labels:  scrolling, sticky
Floatthead
Fixed <thead>. Doesn't need any custom css/html. Does what position:sticky can't
Stars: ✭ 1,193 (-19.93%)
Mutual labels:  scrolling, sticky
Webcrypto Liner
webcrypto-liner is a polyfill that let's down-level User Agents (like IE/Edge) use libraries that depend on WebCrypto. (Keywords: Javascript, WebCrypto, Shim, Polyfill)
Stars: ✭ 98 (-93.42%)
Mutual labels:  polyfill
Unix Permissions
Swiss Army knife for Unix permissions
Stars: ✭ 106 (-92.89%)
Mutual labels:  sticky
Webvr Polyfill
Use WebVR today, without requiring a special browser build.
Stars: ✭ 1,343 (-9.87%)
Mutual labels:  polyfill
Polyfill
PHP polyfills
Stars: ✭ 1,333 (-10.54%)
Mutual labels:  polyfill
React Virtualized Sticky Tree
A React component for efficiently rendering tree like structures with support for position: sticky
Stars: ✭ 115 (-92.28%)
Mutual labels:  sticky
Jquery Scrolllock
Locks mouse wheel scroll inside container, preventing it from propagating to parent element
Stars: ✭ 109 (-92.68%)
Mutual labels:  scrolling
Polyfill Php55
This component provides functions unavailable in releases prior to PHP 5.5.
Stars: ✭ 105 (-92.95%)
Mutual labels:  polyfill
Es6 Promise Polyfill
ES6 Promise polyfill
Stars: ✭ 99 (-93.36%)
Mutual labels:  polyfill
Resize Observer Polyfill
A polyfill for the Resize Observer API
Stars: ✭ 1,530 (+2.68%)
Mutual labels:  polyfill
Polyfill
Polyfill implements newer Ruby features into older versions.
Stars: ✭ 98 (-93.42%)
Mutual labels:  polyfill
Browser Shims
Browser and JS shims used by Airbnb.
Stars: ✭ 112 (-92.48%)
Mutual labels:  polyfill
Easy Scroll
A lightweight native javascript library to perform smooth scrolling with animation
Stars: ✭ 96 (-93.56%)
Mutual labels:  scrolling
Consecutivescroller
ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。
Stars: ✭ 1,383 (-7.18%)
Mutual labels:  sticky
Polyfill Php56
This component provides functions unavailable in releases prior to PHP 5.6.
Stars: ✭ 1,470 (-1.34%)
Mutual labels:  polyfill
Pd Select
vue components ,like ios 3D picker style,vue 3d 选择器组件,3D滚轮
Stars: ✭ 101 (-93.22%)
Mutual labels:  scrolling

Fixed-sticky

🚨🚨 This plugin is Deprecated 🚨🚨

In our own designs we use sticky sparingly and as an enhancement, which means that fallback positioning behavior is acceptable. With native browser support for position: sticky expanding, we must weigh the diminishing cross-section of browsers that require this polyfill against this plugin’s own maintenance costs. Therefore, we’ve decided that now is the right time to retire fixed-sticky. The previous documentation can be found at v0.1.7. NPM will report a deprecation warning. If you want to maintain a fork of this package, send me a message (@zachleat on Twitter) and I’ll add a link to it below. Thank you!

Filament Group

  • ©2013 @zachleat, Filament Group
  • MIT license

Great alternatives

Native position: sticky

The most overlooked thing about position: sticky is that sticky elements are constrained to the dimensions of their parent elements. This means if a sticky element is inside of a parent container that is the same dimensions as itself, the element will not stick.

Here’s an example of what a sticky element with CSS top: 20px behaves like:

Scrolling down. The blue border represents the dimensions of the parent container element. If the element’s top is greater than 20px to the top of the viewport, the element is not sticky.

Scrolling down. When the element’s top is less than 20px to the top of the viewport, the element is sticky.

Here’s an example of what a sticky element with CSS bottom: 20px behaves like:

Scrolling up. Not sticky.

Scrolling up. Sticky.

Demos

Native position: sticky Caveats

  • Any non-default value (not visible) for overflow, overflow-x, or overflow-y on the parent element will disable position: sticky (via @davatron5000).
  • iOS (and Chrome) do not support position: sticky; with display: inline-block;.
  • This plugin (and Chrome’s implementation) does not support use with thead and tfoot.
  • Native sticky anchors to parent elements using their own overflow. This means scrolling the element fixes the sticky element to the parent dimensions. This plugin does not support overflow on parent elements.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].