tamagui 1.130.0 → 1.130.1

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.
@@ -23731,15 +23731,13 @@ var require_Popper_native = __commonJS({
23731
23731
  Object.assign(setupOptions, options);
23732
23732
  }
23733
23733
  function Popper(props) {
23734
- var _middlewareData_checkFloating, { children, size: size2, strategy = "absolute", placement = "bottom", stayInFrame, allowFlip, offset: offset2, disableRTL, resize, passThrough, __scopePopper } = props, [arrowEl, setArrow] = React4.useState(null), [arrowSize, setArrowSize] = React4.useState(0), offsetOptions = offset2 ?? arrowSize, floatingStyle = React4.useRef({}), floating = (0, import_floating.useFloating)({
23735
- ...passThrough && {
23736
- open: !1
23737
- },
23734
+ var _middlewareData_checkFloating, { children, size: size2, strategy = "absolute", placement = "bottom", stayInFrame, allowFlip, offset: offset2, disableRTL, resize, passThrough, open, __scopePopper } = props, [arrowEl, setArrow] = React4.useState(null), [arrowSize, setArrowSize] = React4.useState(0), offsetOptions = offset2 ?? arrowSize, floatingStyle = React4.useRef({}), floating = (0, import_floating.useFloating)({
23735
+ open: passThrough ? !1 : open || !0,
23738
23736
  strategy,
23739
23737
  placement,
23740
23738
  sameScrollView: !1,
23741
23739
  // this only takes effect on native
23742
- whileElementsMounted: passThrough ? void 0 : import_floating.autoUpdate,
23740
+ whileElementsMounted: passThrough || !open ? void 0 : import_floating.autoUpdate,
23743
23741
  platform: disableRTL ?? setupOptions.disableRTL ? {
23744
23742
  ...import_floating.platform,
23745
23743
  isRTL(element) {
@@ -24454,6 +24452,7 @@ var require_Popover_native = __commonJS({
24454
24452
  children,
24455
24453
  ...Object.values(popoverContext)
24456
24454
  ]), contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_popper.Popper, {
24455
+ open,
24457
24456
  passThrough: isAdapted,
24458
24457
  __scopePopper: __scopePopover || POPOVER_SCOPE,
24459
24458
  stayInFrame: !0,