Skip to content
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

[Android] TextInput placeholder font family is incorrect when secureTextEntry={true} #6149

Closed
haikov opened this issue Feb 25, 2016 · 10 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@haikov
Copy link

haikov commented Feb 25, 2016

RN 20.0 (Android only)

When I use secureTextEntry={true} for TextInput, the font-family for placeholder is always default:

input-bug

@lynndylanhurley
Copy link

I'm seeing the same issue.

@eric1iu
Copy link

eric1iu commented Mar 5, 2016

got the same issue.

@Raz0rwire
Copy link

I also have the same issue

@mmazzarolo
Copy link

Same issue on all Android versions I tested

@Raz0rwire
Copy link

I did find this:

Tip: By default, when you set an EditText element to use the "textPassword" input type, the font family is set to monospace, so you should change its font family to "sans-serif" so that both text fields use a matching font style.

Here: http://developer.android.com/guide/topics/ui/dialogs.html#CustomLayout but I'm not sure how to go about fixing it.. @christopherdro

@danhawkes
Copy link

@Raz0rwire In native android the default behaviour is as you describe, but setting the font family works to override the default. What seems to be happening here is that the override is not being applied.

@christopherdro
Copy link
Contributor

Related: #4435

@charpeni
Copy link
Contributor

It will be fixed by PR #6564.

@charpeni
Copy link
Contributor

@facebook-github-bot close

@facebook-github-bot
Copy link
Contributor

@charpeni tells me to close this issue. If you think it should still be opened let us know why.

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Mar 22, 2016
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

10 participants