Просмотр исходного кода

Bugfix: spreadbehaviour problem fixed on DateTimePicker.

lfabl 2 недель назад
Родитель
Сommit
811e8137c5
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/components/dateTimePicker/stylesheet.ts

+ 2 - 0
src/components/dateTimePicker/stylesheet.ts

@@ -240,7 +240,9 @@ export const useStyles = ({
     }
     }
 
 
     if (spreadBehaviour === "stretch") {
     if (spreadBehaviour === "stretch") {
+        styles.container.alignSelf = spreadBehaviour;
         styles.container.justifyContent = "center";
         styles.container.justifyContent = "center";
+        styles.container.flexShrink = 1;
         styles.container.width = "100%";
         styles.container.width = "100%";
     }
     }