-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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 ][ Android ] fontStyle not updated on component re-render #19592
Comments
Having the same issue with a redux-linked TextInput. |
i have the same issue If we come back to the same page, the Italic style is applied here is a video : PS : The same style is applied to Text and TextInput component |
I am also having similar issue. I am changing the style of the textInput once there is value then changing it back once the text field has been cleared. The placeholder text is not fully updating the style. fontSize and color are working as @mickadoua mentioned but things like fontFamily or fontWeight are not changing the placeholder back to the original style. Here is snak example https://snack.expo.io/By2ijBW5X |
I have the same issue. It works on iOS, but not works on Android. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
react-native info
in your terminal and paste its contents under "Environment"Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 8.11.1
Yarn: Not Found
npm: 5.7.1
Watchman: 4.7.0
Xcode: Xcode 9.4 Build version 9F1027a
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4
Description
Applying
fontStyle
dynamically to a TextInput on Android doesn't reflect.Steps to Reproduce
Here is the sample render function
Expected Behavior
When user starts typing the
fontStyle
should be updated tonormal
Actual Behavior
The
fontStyle
always stick toitalic
even after the re-render of the TextInput has happened.The text was updated successfully, but these errors were encountered: