-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove underline on Android #165
Comments
@alpha0010 How hard would it be to add this? |
Hmm. Surprisingly difficult unfortunately. This is implemented via a The only solid option I can think of would be re-implementing the entire widget (off of primitive components), which rather feels like it defeats the goal of being completely native. |
Same issue |
I'm thinking of use a view to overlap the underline to hide it. |
Oh gosh my overlaid view covers hanging part of characters, that was silly of me. |
Did some searching around. You may be able to adapt this solution: https://stackoverflow.com/a/27687155 Also, grep for If you are trying your hand at this, be aware the hard part with react native style properties is to correctly (re)apply the native styles when the JS code does not explicitly set a value. |
Is there any update on this? |
set query backround to transparant |
just use |
Is it possible to remove the underline that appears on Android?
I see the native TextInput has a prop called
underlineColorAndroid="transparent"
but checking the TS file I don't see anything for this, any work arounds to achieve it?The text was updated successfully, but these errors were encountered: