@tamagui/core 1.130.2 → 1.130.3

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/native.js CHANGED
@@ -12322,7 +12322,7 @@ var require_index_native12 = __commonJS({
12322
12322
  rAF(layoutOnAnimationFrame);
12323
12323
  }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, supportsCheckVisibility = "checkVisibility" in document.body, lastFrameAt = Date.now();
12324
12324
  async function updateLayoutIfChanged(node, frameId) {
12325
- if (!(supportsCheckVisibility && !node.checkVisibility()) && IntersectionState.get(node) !== !1) {
12325
+ if (IntersectionState.get(node) !== !1 && !(process.env.TAMAGUI_ONLAYOUT_VISIBILITY_CHECK === "1" && supportsCheckVisibility && !node.checkVisibility())) {
12326
12326
  var onLayout = LayoutHandlers.get(node);
12327
12327
  if (typeof onLayout == "function") {
12328
12328
  var parentNode = node.parentElement;