React-native-paper: How to change TextInput :focus state border color ?

Created on 15 Feb 2020  路  2Comments  路  Source: callstack/react-native-paper

Environment

"react-native" : "0.61.5"
"react-native-paper": "^3.5.1"

Description

I created a focus state and I used the "onFocus()" feature. When I click on the text input, the focus state changed "true" but the "border color" feature didn't change. I don't know why 馃槩

Thanks in advance for the answers 鉂わ笍

Code

question

Most helpful comment

I solved my problem 馃槅
I added this code in :
theme={{colors: {primary: 'green', underlineColor: 'transparent'}}}

Reference : https://github.com/callstack/react-native-paper/issues/656

All 2 comments

I solved my problem 馃槅
I added this code in :
theme={{colors: {primary: 'green', underlineColor: 'transparent'}}}

Reference : https://github.com/callstack/react-native-paper/issues/656

@oguzsh, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

knobandre picture knobandre  路  4Comments

talaikis picture talaikis  路  3Comments

sm2017 picture sm2017  路  4Comments

ferrannp picture ferrannp  路  4Comments

makhataibar picture makhataibar  路  4Comments