@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.
@@ -11750,7 +11750,7 @@ var require_index_native12 = __commonJS({
11750
11750
  rAF(layoutOnAnimationFrame);
11751
11751
  }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, supportsCheckVisibility = "checkVisibility" in document.body, lastFrameAt = Date.now();
11752
11752
  async function updateLayoutIfChanged(node, frameId) {
11753
- if (!(supportsCheckVisibility && !node.checkVisibility()) && IntersectionState.get(node) !== !1) {
11753
+ if (IntersectionState.get(node) !== !1 && !(process.env.TAMAGUI_ONLAYOUT_VISIBILITY_CHECK === "1" && supportsCheckVisibility && !node.checkVisibility())) {
11754
11754
  var onLayout = LayoutHandlers.get(node);
11755
11755
  if (typeof onLayout == "function") {
11756
11756
  var parentNode = node.parentElement;