@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.cjs.js
CHANGED
|
@@ -24498,7 +24498,6 @@ var useCheckElementsInViewport = function useCheckElementsInViewport() {
|
|
|
24498
24498
|
for (var i = 0; i < elements.length; i++) {
|
|
24499
24499
|
var domEl = document.querySelector(elements[i]);
|
|
24500
24500
|
var boundingBox = domEl === null || domEl === void 0 ? void 0 : domEl.getBoundingClientRect();
|
|
24501
|
-
timesRun++;
|
|
24502
24501
|
|
|
24503
24502
|
if (domEl !== null) {
|
|
24504
24503
|
if (boundingBox.top < 0 || boundingBox.left < 0 || boundingBox.right > viewportWidth || boundingBox.bottom > viewportHeight) {
|