layoutcontrollerz-sticky

Sticky

Sticks an element to the viewport edge on scroll, with start/end boundaries, show-on-up reveal, overflow handling, and native-sticky fallback.

Notes

  • Uses native position: sticky when possible (top position, no show-on-up, no animation, default end, and no overflow-clipping ancestor); otherwise it fixes the element and inserts a placeholder.
  • When the element is taller than the viewport, scrolling accumulates overflow so both ends stay reachable.
  • A sticky element only sticks within its parent's box; the default end boundary is the parent's inner bottom edge.