diff --git a/src/components/TextInput/Label/InputLabel.tsx b/src/components/TextInput/Label/InputLabel.tsx index 7870dbec5f..1f474f7ad6 100644 --- a/src/components/TextInput/Label/InputLabel.tsx +++ b/src/components/TextInput/Label/InputLabel.tsx @@ -114,7 +114,7 @@ const InputLabel = (props: InputLabelProps) => { }, ], ...(!isWeb && - Platform.constants.reactNativeVersion.minor >= 73 && { + Platform.constants.reactNativeVersion.minor >= 78 && { transformOrigin: 'left', }), }; @@ -152,7 +152,7 @@ const InputLabel = (props: InputLabelProps) => { StyleSheet.absoluteFill, !isWeb && { width }, { opacity }, - (isWeb || Platform.constants.reactNativeVersion.minor <= 72) && + (isWeb || Platform.constants.reactNativeVersion.minor <= 77) && labelTranslationX, ]} > diff --git a/src/components/TextInput/Label/LabelBackground.tsx b/src/components/TextInput/Label/LabelBackground.tsx index f929605293..2c063c7ea4 100644 --- a/src/components/TextInput/Label/LabelBackground.tsx +++ b/src/components/TextInput/Label/LabelBackground.tsx @@ -54,7 +54,7 @@ const LabelBackground = ({ bottom: Math.max(roundness, 2), opacity, }, - (isWeb || Platform.constants.reactNativeVersion.minor <= 72) && { + (isWeb || Platform.constants.reactNativeVersion.minor <= 77) && { transform: [labelTranslationX], }, ]}