React-native-google-places-autocomplete: How to remove border on the input?

Created on 11 Jul 2019  路  2Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

So there seems to be a gray border around the inputContainer, even though I attempted putting borderWidth: 0, borderColor: 'transparent', to textInputContainer, to textInput, to container, nothing removes that border.

Any ideas? Thanks.

Most helpful comment

Nevermind, i found it. Had to check the lib. If anyone is under the same doubt just do this:

                        borderTopColor: CommonStyles.TRANSPARENT,
                        borderBottomColor: CommonStyles.TRANSPARENT,
                        borderTopWidth: 0,
                        borderBottomWidth: 0,

All 2 comments

Nevermind, i found it. Had to check the lib. If anyone is under the same doubt just do this:

                        borderTopColor: CommonStyles.TRANSPARENT,
                        borderBottomColor: CommonStyles.TRANSPARENT,
                        borderTopWidth: 0,
                        borderBottomWidth: 0,

Nevermind, i found it. Had to check the lib. If anyone is under the same doubt just do this:

                        borderTopColor: CommonStyles.TRANSPARENT,
                        borderBottomColor: CommonStyles.TRANSPARENT,
                        borderTopWidth: 0,
                        borderBottomWidth: 0,

thank you so much for that!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KhalilKhalaf picture KhalilKhalaf  路  4Comments

diegothucao picture diegothucao  路  3Comments

tezahzulueta picture tezahzulueta  路  3Comments

biks152207 picture biks152207  路  4Comments

DennisMuchiri picture DennisMuchiri  路  4Comments