File tree 1 file changed +3
-2
lines changed
packages/react-native/React/Fabric/Mounting/ComponentViews/View
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -633,8 +633,9 @@ - (void)invalidateLayer
633
633
// iOS draws borders in front of the content whereas CSS draws them behind
634
634
// the content. For this reason, only use iOS border drawing when clipping
635
635
// or when the border is hidden.
636
- borderMetrics.borderWidths .left == 0 ||
637
- colorComponentsFromColor (borderMetrics.borderColors .left ).alpha == 0 || self.clipsToBounds );
636
+ borderMetrics.borderWidths .left == 0 || self.clipsToBounds ||
637
+ (colorComponentsFromColor (borderMetrics.borderColors .left ).alpha == 0 &&
638
+ (*borderMetrics.borderColors .left ).getUIColor () != nullptr ));
638
639
639
640
CGColorRef backgroundColor = [_backgroundColor resolvedColorWithTraitCollection: self .traitCollection].CGColor ;
640
641
You can’t perform that action at this time.
0 commit comments