@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.
@@ -4292,7 +4292,11 @@ function CardModalAnimation({
4292
4292
  onDismiss: () => {
4293
4293
  if (onExited) onExited();
4294
4294
  },
4295
- children: /*#__PURE__*/jsxs(View, {
4295
+ children: /*#__PURE__*/jsxs(View
4296
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
4297
+ // This ugly workaround is used in FullScreenModalAnimation and DialogModalAnimation as well
4298
+ , {
4299
+ height: 1,
4296
4300
  position: "relative",
4297
4301
  flexGrow: 1,
4298
4302
  justifyContent: "center",
@@ -5001,7 +5005,11 @@ function DialogModalAnimation({
5001
5005
  onDismiss: () => {
5002
5006
  if (onExited) onExited();
5003
5007
  },
5004
- children: /*#__PURE__*/jsxs(View, {
5008
+ children: /*#__PURE__*/jsxs(View
5009
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
5010
+ // This ugly workaround is used in FullScreenModalAnimation and CardModalAnimation as well
5011
+ , {
5012
+ height: 1,
5005
5013
  position: "relative",
5006
5014
  flexGrow: 1,
5007
5015
  justifyContent: "center",
@@ -8228,7 +8236,11 @@ function FullscreenModalAnimation({
8228
8236
  onDismiss: () => {
8229
8237
  if (onExited) onExited();
8230
8238
  },
8231
- children: /*#__PURE__*/jsxs(View, {
8239
+ children: /*#__PURE__*/jsxs(View
8240
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
8241
+ // This ugly workaround is used in DialogModalAnimation and CardModalAnimation as well
8242
+ , {
8243
+ height: 1,
8232
8244
  position: "relative",
8233
8245
  flexGrow: 1,
8234
8246
  justifyContent: "center",