Closed vietcuong122 closed 3 years ago
Hi @vietcuong122, I'll try to reproduce this issue.
Can anyone found this issue or the solved for this?
@vietcuong122, I'm sorry but using the following code I couldn't reproduce this issue.
<FloatingLabelInput
label={'label'}
value={val}
onChangeText={(newValue)=> setVal(newValue)}
autoCapitalize={'words'}
customLabelStyles={{colorBlurred: '#f0f', colorFocused: '#000'}}
isFocused={focused}
onFocus={() => { setFocused(true) }}
onBlur={() => { setFocused(false) }}
blurOnSubmit={false}
/>
@vietcuong122 any updates?
Closing this due to no answer
I have override the onFocus/onBlur props, and handled isFocused as an state variable, but the color of label when focused not changed. Here is my code, hope to get your help.