tamagui 1.126.7 → 1.126.8-1746721458928

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.
@@ -8219,7 +8219,7 @@ var require_createComponent_native = __commonJS({
8219
8219
  var tm;
8220
8220
  if (state.unmounted) {
8221
8221
  var _config_animations2, _animationDriver_supportsCSSVars;
8222
- if ((_animationDriver_supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars) !== null && _animationDriver_supportsCSSVars !== void 0 ? _animationDriver_supportsCSSVars : !(config == null || (_config_animations2 = config.animations) === null || _config_animations2 === void 0) && _config_animations2.supportsCSSVars) return tm = setTimeout(function() {
8222
+ if (((_animationDriver_supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars) !== null && _animationDriver_supportsCSSVars !== void 0 ? _animationDriver_supportsCSSVars : !(config == null || (_config_animations2 = config.animations) === null || _config_animations2 === void 0) && _config_animations2.supportsCSSVars) || import_constants4.isAndroid) return tm = setTimeout(function() {
8223
8223
  setStateShallow({
8224
8224
  unmounted: !1
8225
8225
  });
@@ -23657,16 +23657,19 @@ var computePosition, arrow2, autoPlacement2, flip2, hide2, inline2, offset2, shi
23657
23657
  return side2 <= 0;
23658
23658
  })) {
23659
23659
  var _middlewareData$flip2, _overflowsData$filter, nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1, nextPlacement = placements2[nextIndex];
23660
- if (nextPlacement)
23661
- return {
23662
- data: {
23663
- index: nextIndex,
23664
- overflows: overflowsData
23665
- },
23666
- reset: {
23667
- placement: nextPlacement
23668
- }
23669
- };
23660
+ if (nextPlacement) {
23661
+ var _overflowsData$, ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : !1, hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
23662
+ if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow)
23663
+ return {
23664
+ data: {
23665
+ index: nextIndex,
23666
+ overflows: overflowsData
23667
+ },
23668
+ reset: {
23669
+ placement: nextPlacement
23670
+ }
23671
+ };
23672
+ }
23670
23673
  var resetPlacement = (_overflowsData$filter = overflowsData.filter(function(d) {
23671
23674
  return d.overflows[0] <= 0;
23672
23675
  }).sort(function(a, b) {