-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
BugPlatform: AndroidAndroid applications.Android applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
fontWeight
properties on Text
components are not having an affect on Android styles on React Native Version 0.60.5
. If I use the bold
value, the Text
component picks up the bold
style, but any other value 200
up through 800
all display the same appearance as normal
or 100
. I performed the same change on RN Version 0.59.10
and the Text
component is styled correctly.
React Native version:
OS: macOS High Sierra 10.13.6
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 13.78 GB / 32.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
Yarn: 1.17.3 - ~/Developer/Projects/hy-vee-grocery/node_modules/.bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 27.0.3, 28.0.3, 29.0.2
System Images: android-23 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5692245
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
Steps To Reproduce
- Change the
fontWeight
of aText
component from100
to600
on Android.
Describe what you expected to happen:
Text
component should be styled with new fontWeight
, but the style does not change.
Snack, code example, screenshot, or link to a repository:
RN 0.60.5
RN 0.59.10
I just used react-native init
projects at RN 0.59.10
and 0.60.5
to reproduce this behavior.
Collin3, kruupos, chgsilva, ShortSound, bashen1 and 15 more
Metadata
Metadata
Assignees
Labels
BugPlatform: AndroidAndroid applications.Android applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.