Amy Blankenship
Jul 14, 2022

Intersection observer only considers visible objects https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API. I suspect jsDom has not implemented this, so it might be difficult to test.

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (2)