#905: Intersection Observer Scroll Margin

Visit on Github.

Opened Sep 30, 2023

Hello TAG reviewers!

I'm requesting a TAG review of "Intersection Observer Scroll Margin".

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.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: Implementation complete
  • The group where the work on this specification is currently being done: w3c
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): w3c
  • Major unresolved issues with or opposition to this specification: None
  • This work is being funded by: Google

You should also know that...

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @-notify tcaptan-cr

Discussions

Discussed Nov 13, 2023 (See Github)

Rossen: the explainer is an issue...

Lea: we could ask forn an explainer and move on...

Dan: [leaves reply]

Comment by @torgo Nov 13, 2023 (See Github)

Hi @tcaptan-cr sorry for the late reply here but we've just reviewing and realised there's no explainer attached to this review. Can you write us a quick explainer so we know what it is we're meant to be reviewing here? Our explainer explainer is here: https://tag.w3.org/explainers/. Thanks! ✨

Discussed Nov 20, 2023 (See Github)

Rossen: looks like they haven't replied to us... Original issue ... still only an issue and not an explainer... No update based on last week's ask... I'm somewhat familiar with the issue but prefer to stick to the process even if's just to improve habits.

Dan: [reaches out to chris harrelson]

Comment by @tcaptan-cr Nov 21, 2023 (See Github)

Hi @tcaptan-cr sorry for the late reply here but we've just reviewing and realised there's no explainer attached to this review. Can you write us a quick explainer so we know what it is we're meant to be reviewing here? Our explainer explainer is here: https://tag.w3.org/explainers/. Thanks! ✨

Hi Daniel! Here's the Intersection Observer Scroll Margin Explainer

Discussed Dec 11, 2023 (See Github)

Rossen: it's important to have this ability as a further optimisation, trying to express and capture the ened user behaviour from something deep in the layout pipeline like this is difficult and maybe the author has found a challenge.. I'm fine with moving forward with this one

Peter: close satisfied?

Rossen: yep

Rossen to leave feedback and close as satisfied

Comment by @atanassov Dec 11, 2023 (See Github)

Thank you for adding an explainer @tcaptan-cr. The proposed feature is a great addition enabling authors to handle content inside scrollable areas resulting in better user experience and performance. We are happy to approve the review and look forward to further improvements worked on by the CSSWG.

Comment by @tcaptan-cr Dec 13, 2023 (See Github)

Thank you for adding an explainer @tcaptan-cr. The proposed feature is a great addition enabling authors to handle content inside scrollable areas resulting in better user experience and performance. We are happy to approve the review and look forward to further improvements worked on by the CSSWG.

Thank you Rossen!