callstack / react-native-paper

Material Design for React Native (Android & iOS)
https://reactnativepaper.com
MIT License
12.72k stars 2.07k forks source link

Transparent underline changes label to transparent #2987

Open p-syche opened 2 years ago

p-syche commented 2 years ago

Current behaviour

When activeUnderline (or activeOutline) is set to transparent, the label turns transparent as well.

Expected behaviour

The label should use the theme color.

Code sample

Link to snack with a repro.

Your Environment

software version
ios or android Android 10
react-native 0.66.3
react-native-paper 4.10.1
node 14.18.1
npm 8.1.4
expo 43.0.3
react-native-vector-icons 9.0.0

Shoutouts

This issue was discovered by @r6rob and described in a comment to the PR introducing custom underline color, by @belgamo .

github-actions[bot] commented 2 years ago

Couldn't find version numbers for the following packages in the issue:

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

devnido commented 1 year ago

If you want to make the under line transparent to make it disappear, you can do this:

underlineStyle={{ display:'none' }}