-
Notifications
You must be signed in to change notification settings - Fork 149
Fix ifdef for shadow inconsistency bug fix #1378
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
Conversation
@@ -197,7 +197,7 @@ - (RCTShadowView *)shadowView | |||
RCT_REMAP_VIEW_PROPERTY(opacity, alphaValue, CGFloat) | |||
#endif // ]TODO(macOS GH#774) | |||
|
|||
#if TARGET_OS_OSX // TODO(macOS GH#774) | |||
#if !TARGET_OS_OSX // TODO(macOS GH#774) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how did this work before? and nothing failed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I had the same question, I didn't test on IOS when I made this change but I feel like I should have seen errors when I tested on macOS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a copy-paste error since you tested in FURN and not RN-Tester?
please add description which commit has cause the regression |
please add vlaidation notes |
The Apple PR pipeline is failing with this error: "RNTesterLoadAllPages This seems like an actual issue with the original PR, I think the mistake with ifdefs hid the issue and somehow the original PR passed these tests. This will need to be looked at more, so going to close this PR for now and revert the PR that introduced this until we find a fix. |
Please select one of the following
Summary
Fix regression for ifdef for shadow inconsistency bug fix (checked in a598ee4)
We were seeing a red box in iOS (copied below), after this fix confirmed that this box is gone.

Changelog
[macOS] [Fixed] - Mixed up if defs for shadow inconsistency bug