You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In issue #4337 we proposed and added element based offsets but one thing that the pull request #5124 missed is adding the rootMargin for these element based offsets.
Specifically section 3.1.3.2 should have a rootMargin parameter which allows the developer to provide an offset from the scrolling box edge at which the intersection begins to take place similar to the same property in IntersectionObserver. It was mentioned in the issue and implemented in the polyfill but lost in the pull request. @majido I assume it was not intentionally dropped? I can't find any comments to suggest it was, and being able to offset from the edge can be quite useful.
The text was updated successfully, but these errors were encountered:
In issue #4337 we proposed and added element based offsets but one thing that the pull request #5124 missed is adding the rootMargin for these element based offsets.
Specifically section 3.1.3.2 should have a rootMargin parameter which allows the developer to provide an offset from the scrolling box edge at which the intersection begins to take place similar to the same property in IntersectionObserver. It was mentioned in the issue and implemented in the polyfill but lost in the pull request. @majido I assume it was not intentionally dropped? I can't find any comments to suggest it was, and being able to offset from the edge can be quite useful.
The text was updated successfully, but these errors were encountered: