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.
package/dist/native.js CHANGED
@@ -8731,7 +8731,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
8731
8731
  var tm;
8732
8732
  if (state.unmounted) {
8733
8733
  var _config_animations2, _animationDriver_supportsCSSVars;
8734
- 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() {
8734
+ 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() {
8735
8735
  setStateShallow({
8736
8736
  unmounted: !1
8737
8737
  });
@@ -24353,16 +24353,19 @@ var computePosition, arrow2, autoPlacement2, flip2, hide2, inline2, offset2, shi
24353
24353
  return side2 <= 0;
24354
24354
  })) {
24355
24355
  var _middlewareData$flip2, _overflowsData$filter, nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1, nextPlacement = placements2[nextIndex];
24356
- if (nextPlacement)
24357
- return {
24358
- data: {
24359
- index: nextIndex,
24360
- overflows: overflowsData
24361
- },
24362
- reset: {
24363
- placement: nextPlacement
24364
- }
24365
- };
24356
+ if (nextPlacement) {
24357
+ var _overflowsData$, ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : !1, hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
24358
+ if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow)
24359
+ return {
24360
+ data: {
24361
+ index: nextIndex,
24362
+ overflows: overflowsData
24363
+ },
24364
+ reset: {
24365
+ placement: nextPlacement
24366
+ }
24367
+ };
24368
+ }
24366
24369
  var resetPlacement = (_overflowsData$filter = overflowsData.filter(function(d) {
24367
24370
  return d.overflows[0] <= 0;
24368
24371
  }).sort(function(a, b) {