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 +1 -1
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +1 -1
- package/dist/test.native.js.map +1 -1
- package/package.json +55 -55
package/dist/test.native.js
CHANGED
|
@@ -19292,7 +19292,7 @@ var require_Dialog_native = __commonJS({
|
|
|
19292
19292
|
}) : content;
|
|
19293
19293
|
}, DialogPortal = /* @__PURE__ */ React4.forwardRef(function(props, forwardRef2) {
|
|
19294
19294
|
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;
|
|
19295
|
-
(0, import_constants4.useIsomorphicLayoutEffect)(function() {
|
|
19295
|
+
import_constants4.isWeb && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
|
|
19296
19296
|
var node = dialogRef.current;
|
|
19297
19297
|
node instanceof HTMLDialogElement && (isVisible ? node.show() : node.close());
|
|
19298
19298
|
}, [
|