Underline border appears in React Native Textinput when in dark mode of the device, When switch to light mode it's gone
TextInput when in light mode <---- screenshot
TextInput when in dark mode <---- screenshot
This is the react native style sheet code
textInput: {
width: '100%',
height: '100%',
borderBottomWidth: 0,
paddingRight: 5,
paddingLeft: 15,
color: colors.light__0,
fontFamily: 'Poppins-Medium',
},
Here is the TextInput JSX code
<TextInput
onChangeText={() => handleChange()}
onBlur={handleBlur()}
value={value}
style={styles.textInput}
placeholder={placeholder}
autoCompleteType={autoCompleteType}
secureTextEntry={secureTextEntry}
keyboardType={keyboardType}
underlineColorAndroid={'transparent'}
placeholderTextColor={colors.light__40}
></TextInput>