Intersection Observer scrollMargin allows developers to observe targets inside nested scroll containers that are currently clipped away by the scroll containers. This is achieved by expanding the container's clipping rect by the scrollMargin when calculating the intersection.
None
N/A
N/A
N/A
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
N/A
This feature is behind an enabled-by-default flag that can be disabled if needed.
Shipping on desktop | 119 |
DevTrial on desktop | 119 |
Shipping on Android | 119 |
DevTrial on Android | 119 |
Shipping on WebView | 119 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneLGTM1
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFxahvujC4h6MHxdfFWZnXTa2_8bawUTk7%2B_XCUXC1d1aZFnJw%40mail.gmail.com.
Contact emailstca...@chromium.org
ExplainerNone
Specificationhttps://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-scrollmargin
SummaryIntersection Observer scrollMargin allows developers to observe targets inside nested scroll containers that are currently clipped away by the scroll containers. This is achieved by expanding the container's clipping rect by the scrollMargin when calculating the intersection.
Blink componentBlink
Search tagsIntersection Observer, scrollMargin
TAG reviewNone
TAG review statusNot applicable
Risks
Interoperability and CompatibilityNone
Gecko: Positive (https://github.com/w3c/IntersectionObserver/issues/431)
WebKit: Positive (https://github.com/w3c/IntersectionObserver/issues/431)
Link to entry on the Chrome Platform Statushttps://chromestatus.com/feature/5091020593430528
Links to previous Intent discussionsIntent to prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFxahvsWGzF5au6c5%2BfVrh1hOCq_Y0rY0VF_bsmO8VVysg3QTg%40mail.gmail.com
Hi Yoav,I don't know of Gecko's and WebKit's concrete implementation plans for Intersection Observer Scroll Margin.However, based on their responses on the github issue they were supportive.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8cc676a6-026d-42ba-9ee9-043684d8b9a8n%40chromium.org.