You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment:
OS: macOS High Sierra 10.13.1
Node: 8.9.0
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.0.1 Build version 9A1004
Android Studio: Not Found
At least on iOS, I think the issue is an overly-grabby conditional in Libraries/Text/RCTShadowText.m, something like if (!CGSizeEqualToSize(_textShadowOffset, CGSizeZero) || _textShadowRadius != 0.0) {. Not too sure about the build process so I can't easily test that fix locally. Plus it seems to occur on Android as well.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.
stalebot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Feb 17, 2018
@shergin@mdvacca@davidaurelio Can one of you please re-open this or otherwise respond? I can confirm the issue and it does not appear to be intended behavior. Compare to text-shadow prop on web browsers, where the following is perfectly valid and displays the intended behavior: text-shadow: 0 0 2px #FF0000;
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13.1
Node: 8.9.0
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.0.1 Build version 9A1004
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: ^0.49.3 => 0.49.5
Steps to Reproduce
Expected Behavior
Text should have a blurred shadow with no offset, similar to having
text-shadow: 0 0 3px red
in CSS.Actual Behavior
No shadow exists at all
Reproducible Demo
https://snack.expo.io/B1X1Lzvff
Other
At least on iOS, I think the issue is an overly-grabby conditional in
Libraries/Text/RCTShadowText.m
, something likeif (!CGSizeEqualToSize(_textShadowOffset, CGSizeZero) || _textShadowRadius != 0.0) {
. Not too sure about the build process so I can't easily test that fix locally. Plus it seems to occur on Android as well.The text was updated successfully, but these errors were encountered: