@ornikar/kitt-universal 29.3.1 → 29.3.2

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.
@@ -4315,7 +4315,12 @@ function CardModalAnimation({
4315
4315
  onDismiss: () => {
4316
4316
  if (onExited) onExited();
4317
4317
  },
4318
- children: /*#__PURE__*/jsxRuntime.jsxs(View, {
4318
+ children: /*#__PURE__*/jsxRuntime.jsxs(View
4319
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
4320
+ // This ugly workaround is used in FullScreenModalAnimation and DialogModalAnimation as well
4321
+ // TODO [expo@>=53]: Check if still needed
4322
+ , {
4323
+ height: reactNative.Platform.OS === 'android' ? 1 : undefined,
4319
4324
  position: "relative",
4320
4325
  flexGrow: 1,
4321
4326
  justifyContent: "center",
@@ -5024,7 +5029,12 @@ function DialogModalAnimation({
5024
5029
  onDismiss: () => {
5025
5030
  if (onExited) onExited();
5026
5031
  },
5027
- children: /*#__PURE__*/jsxRuntime.jsxs(View, {
5032
+ children: /*#__PURE__*/jsxRuntime.jsxs(View
5033
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
5034
+ // This ugly workaround is used in FullScreenModalAnimation and CardModalAnimation as well
5035
+ // TODO [expo@>=53]: Check if still needed
5036
+ , {
5037
+ height: reactNative.Platform.OS === 'android' ? 1 : undefined,
5028
5038
  position: "relative",
5029
5039
  flexGrow: 1,
5030
5040
  justifyContent: "center",
@@ -8251,7 +8261,12 @@ function FullscreenModalAnimation({
8251
8261
  onDismiss: () => {
8252
8262
  if (onExited) onExited();
8253
8263
  },
8254
- children: /*#__PURE__*/jsxRuntime.jsxs(View, {
8264
+ children: /*#__PURE__*/jsxRuntime.jsxs(View
8265
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
8266
+ // This ugly workaround is used in DialogModalAnimation and CardModalAnimation as well
8267
+ // TODO [expo@>=53]: Check if still needed
8268
+ , {
8269
+ height: reactNative.Platform.OS === 'android' ? 1 : undefined,
8255
8270
  position: "relative",
8256
8271
  flexGrow: 1,
8257
8272
  justifyContent: "center",