@ornikar/kitt-universal 29.3.1 → 29.3.2-canary.f2abfc91dffa35207c7250cfe664cca0fa103531.0

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,11 @@ 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
+ , {
4322
+ height: 1,
4319
4323
  position: "relative",
4320
4324
  flexGrow: 1,
4321
4325
  justifyContent: "center",
@@ -5024,7 +5028,11 @@ function DialogModalAnimation({
5024
5028
  onDismiss: () => {
5025
5029
  if (onExited) onExited();
5026
5030
  },
5027
- children: /*#__PURE__*/jsxRuntime.jsxs(View, {
5031
+ children: /*#__PURE__*/jsxRuntime.jsxs(View
5032
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
5033
+ // This ugly workaround is used in FullScreenModalAnimation and CardModalAnimation as well
5034
+ , {
5035
+ height: 1,
5028
5036
  position: "relative",
5029
5037
  flexGrow: 1,
5030
5038
  justifyContent: "center",
@@ -8251,7 +8259,11 @@ function FullscreenModalAnimation({
8251
8259
  onDismiss: () => {
8252
8260
  if (onExited) onExited();
8253
8261
  },
8254
- children: /*#__PURE__*/jsxRuntime.jsxs(View, {
8262
+ children: /*#__PURE__*/jsxRuntime.jsxs(View
8263
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
8264
+ // This ugly workaround is used in DialogModalAnimation and CardModalAnimation as well
8265
+ , {
8266
+ height: 1,
8255
8267
  position: "relative",
8256
8268
  flexGrow: 1,
8257
8269
  justifyContent: "center",