-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Component: TextPlatform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
[skip envinfo]
Description
On Android, all text has a faint shadow. This is barely noticeable in most cases but becomes visible with light colored text. As an extreme example, this is "Test" in white font on white background:
I would expect the text to be completely invisible but instead there is a faint shadow.
Reproducible Demo
No demo
Cause
This is a regression which has been introduced by b7ba225 and is present since version 0.57.2.
The problem is that the default value for textShadowRadius
is 1
. I'm not sure why that is, but I think it probably should be 0
which would solve this issue.
Workaround
The workaround is to manually set the radius to 0:
<Text style={{ textShadowRadius: 0 }}>
Test
</Text>
Metadata
Metadata
Assignees
Labels
Component: TextPlatform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.