@thecb/components 7.7.8-beta.10 → 7.7.8-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -24490,7 +24490,6 @@ var useCheckElementsInViewport = function useCheckElementsInViewport() {
|
|
|
24490
24490
|
for (var i = 0; i < elements.length; i++) {
|
|
24491
24491
|
var domEl = document.querySelector(elements[i]);
|
|
24492
24492
|
var boundingBox = domEl === null || domEl === void 0 ? void 0 : domEl.getBoundingClientRect();
|
|
24493
|
-
timesRun++;
|
|
24494
24493
|
|
|
24495
24494
|
if (domEl !== null) {
|
|
24496
24495
|
if (boundingBox.top < 0 || boundingBox.left < 0 || boundingBox.right > viewportWidth || boundingBox.bottom > viewportHeight) {
|