File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/react-native/React/Fabric/Mounting/ComponentViews/View Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -633,8 +633,9 @@ - (void)invalidateLayer
633633 // iOS draws borders in front of the content whereas CSS draws them behind
634634 // the content. For this reason, only use iOS border drawing when clipping
635635 // 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 ));
638639
639640 CGColorRef backgroundColor = [_backgroundColor resolvedColorWithTraitCollection: self .traitCollection].CGColor ;
640641
You can’t perform that action at this time.
0 commit comments