intersection-observer-admin
Advanced tools
Comparing version 0.2.11 to 0.2.12
@@ -185,4 +185,3 @@ var __extends = (this && this.__extends) || (function () { | ||
// first determine if entry intersecting | ||
// https://www.w3.org/TR/intersection-observer/#update-intersection-observations-algo | ||
if (isIntersecting || intersectionRatio >= threshold) { | ||
if (isIntersecting || intersectionRatio > threshold) { | ||
if (matchingRootEntry) { | ||
@@ -189,0 +188,0 @@ matchingRootEntry.elements.some(function (element) { |
@@ -276,4 +276,3 @@ var Registry = /** @class */ (function () { | ||
// first determine if entry intersecting | ||
// https://www.w3.org/TR/intersection-observer/#update-intersection-observations-algo | ||
if (isIntersecting || intersectionRatio >= threshold) { | ||
if (isIntersecting || intersectionRatio > threshold) { | ||
if (matchingRootEntry) { | ||
@@ -280,0 +279,0 @@ matchingRootEntry.elements.some(function (element) { |
@@ -282,4 +282,3 @@ (function (global, factory) { | ||
// first determine if entry intersecting | ||
// https://www.w3.org/TR/intersection-observer/#update-intersection-observations-algo | ||
if (isIntersecting || intersectionRatio >= threshold) { | ||
if (isIntersecting || intersectionRatio > threshold) { | ||
if (matchingRootEntry) { | ||
@@ -286,0 +285,0 @@ matchingRootEntry.elements.some(function (element) { |
{ | ||
"name": "intersection-observer-admin", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"description": "Intersection Observer Admin for better performance", | ||
@@ -5,0 +5,0 @@ "main": "dist/intersection-observer-admin.umd.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
110866
1445