w3ctag / design-reviews

W3C specs and API reviews
Creative Commons Zero v1.0 Universal
318 stars 55 forks source link

Intersection Observer Scroll Margin #905

Closed tcaptan-cr closed 6 months ago

tcaptan-cr commented 9 months ago

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:

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

torgo commented 7 months ago

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! ✨

tcaptan-cr commented 7 months ago

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

atanassov commented 6 months ago

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.

tcaptan-cr commented 6 months ago

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!