tamagui 1.132.0 → 1.132.1-1752373919725

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
@@ -19891,7 +19891,7 @@ var require_Dialog_native = __commonJS({
19891
19891
  }) : content;
19892
19892
  }, DialogPortal = /* @__PURE__ */ React4.forwardRef(function(props, forwardRef2) {
19893
19893
  var { scope, forceMount, children, ...frameProps } = props, dialogRef = React4.useRef(null), ref = (0, import_compose_refs.composeRefs)(dialogRef, forwardRef2), context = useDialogContext(scope), isMountedOrOpen = forceMount || context.open, [isFullyHidden, setIsFullyHidden] = React4.useState(!isMountedOrOpen), isAdapted = (0, import_adapt.useAdaptIsActive)(context.adaptScope), isVisible = !isFullyHidden;
19894
- (0, import_constants4.useIsomorphicLayoutEffect)(function() {
19894
+ import_constants4.isWeb && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
19895
19895
  var node = dialogRef.current;
19896
19896
  node instanceof HTMLDialogElement && (isVisible ? node.show() : node.close());
19897
19897
  }, [