@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.
package/dist/index.es.js CHANGED
@@ -4336,7 +4336,11 @@ function CardModalAnimation(_ref) {
4336
4336
  onDismiss: function () {
4337
4337
  if (onExited) onExited();
4338
4338
  },
4339
- children: /*#__PURE__*/jsxs(View, {
4339
+ children: /*#__PURE__*/jsxs(View
4340
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
4341
+ // This ugly workaround is used in FullScreenModalAnimation and DialogModalAnimation as well
4342
+ , {
4343
+ height: 1,
4340
4344
  position: "relative",
4341
4345
  flexGrow: 1,
4342
4346
  justifyContent: "center",
@@ -5038,7 +5042,11 @@ function DialogModalAnimation(_ref) {
5038
5042
  onDismiss: function () {
5039
5043
  if (onExited) onExited();
5040
5044
  },
5041
- children: /*#__PURE__*/jsxs(View, {
5045
+ children: /*#__PURE__*/jsxs(View
5046
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
5047
+ // This ugly workaround is used in FullScreenModalAnimation and CardModalAnimation as well
5048
+ , {
5049
+ height: 1,
5042
5050
  position: "relative",
5043
5051
  flexGrow: 1,
5044
5052
  justifyContent: "center",
@@ -8468,7 +8476,11 @@ function FullscreenModalAnimation(_ref) {
8468
8476
  onDismiss: function () {
8469
8477
  if (onExited) onExited();
8470
8478
  },
8471
- children: /*#__PURE__*/jsxs(View, {
8479
+ children: /*#__PURE__*/jsxs(View
8480
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
8481
+ // This ugly workaround is used in DialogModalAnimation and CardModalAnimation as well
8482
+ , {
8483
+ height: 1,
8472
8484
  position: "relative",
8473
8485
  flexGrow: 1,
8474
8486
  justifyContent: "center",