Implicit Root Scroller

Allows viewport-filling scrollers (iframes, divs) to perform document-level scrolling actions. I.e. show/hide URL bar, overscroll glow, rotation anchoring, etc.

Comments

This feature generalizes the special behaviors (typically on mobile) given today only to the documentElement to a other scrollers on the page. For example, show/hide URL bar on scroll. This allows authors to use non-document scrollers to host content and logically separate their application views in the DOM rather than moving everything into the documentElement. For more in-depth information: https://github.com/bokand/root-scroller/blob/master/explainer.md

Demo

Documentation

Status in Chromium

Blink>Scroll


Enabled by default (tracking bug) in:

  • Chrome for desktop release 73
  • Chrome for Android release 73
  • Android WebView release 73

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • No public signals
  • No signals

Owner

Last updated on 2019-02-05