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
isIntersecting value (as spec says) is false in two conditions. Target has no intersections with the root or when the boundingClientRect has zero area. However, I've realized that on Chrome the value of isIntersecting is depending on the threshold value. On the other hand Firefox doesn't make the isIntersecting value false when target gets lost the intersection with the root. Polyfill has the same implementation as the spec says. And on MDN the explanation is: "If isIntersecting is true, the target element has become at least as visible as the threshold that was passed. If it's false, the target is no longer as visible as the given threshold."
So, which one must be selected? I think it is also related with #328
isIntersecting value (as spec says) is false in two conditions. Target has no intersections with the root or when the boundingClientRect has zero area. However, I've realized that on Chrome the value of isIntersecting is depending on the threshold value. On the other hand Firefox doesn't make the isIntersecting value false when target gets lost the intersection with the root. Polyfill has the same implementation as the spec says. And on MDN the explanation is: "If isIntersecting is true, the target element has become at least as visible as the threshold that was passed. If it's false, the target is no longer as visible as the given threshold."
So, which one must be selected? I think it is also related with #328
Chrome version: 72.0.3626.96 (Official Build) (64-bit)
Firefox version: 65.0 (64 bit)
The text was updated successfully, but these errors were encountered: