@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.
package/dist/index.es.js CHANGED
@@ -4336,7 +4336,12 @@ 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
+ // TODO [expo@>=53]: Check if still needed
4343
+ , {
4344
+ height: Platform.OS === 'android' ? 1 : undefined,
4340
4345
  position: "relative",
4341
4346
  flexGrow: 1,
4342
4347
  justifyContent: "center",
@@ -5038,7 +5043,12 @@ function DialogModalAnimation(_ref) {
5038
5043
  onDismiss: function () {
5039
5044
  if (onExited) onExited();
5040
5045
  },
5041
- children: /*#__PURE__*/jsxs(View, {
5046
+ children: /*#__PURE__*/jsxs(View
5047
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
5048
+ // This ugly workaround is used in FullScreenModalAnimation and CardModalAnimation as well
5049
+ // TODO [expo@>=53]: Check if still needed
5050
+ , {
5051
+ height: Platform.OS === 'android' ? 1 : undefined,
5042
5052
  position: "relative",
5043
5053
  flexGrow: 1,
5044
5054
  justifyContent: "center",
@@ -8468,7 +8478,12 @@ function FullscreenModalAnimation(_ref) {
8468
8478
  onDismiss: function () {
8469
8479
  if (onExited) onExited();
8470
8480
  },
8471
- children: /*#__PURE__*/jsxs(View, {
8481
+ children: /*#__PURE__*/jsxs(View
8482
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
8483
+ // This ugly workaround is used in DialogModalAnimation and CardModalAnimation as well
8484
+ // TODO [expo@>=53]: Check if still needed
8485
+ , {
8486
+ height: Platform.OS === 'android' ? 1 : undefined,
8472
8487
  position: "relative",
8473
8488
  flexGrow: 1,
8474
8489
  justifyContent: "center",