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

TextInput font family incorrect after switching secureTextEntry off #5710

Closed
jevakallio opened this issue Feb 2, 2016 · 3 comments
Closed
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@jevakallio
Copy link
Contributor

RN 0.19 on iOS.

I am implementing a component that allows user to see their password in plain text by pressing a button:

screen shot 2016-02-02 at 19 16 46

I would expect the font of the text input to be as defined by the style sheet

screen shot 2016-02-02 at 19 18 33

Instead, the font family of the characters is a default serif font:

screen shot 2016-02-02 at 19 19 41

I am able to work around this by forcing the TextInput to re-render by setting a new key prop, but this causes the input to lose focus and keyboard to withdraw.

@facebook-github-bot
Copy link
Contributor

Hey jevakallio, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

@johnnynanjiang
Copy link

I have the same problem, even when re-rendering the page.

@christopherdro
Copy link
Contributor

Duplicate #6149

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants