Skip to content

Commit

Permalink
Fix box-shadow showing on top of subviews (facebook#45935)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#45935

As title

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D60925627
  • Loading branch information
jorge-cab authored and facebook-github-bot committed Aug 8, 2024
1 parent beebf4a commit f42673c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ - (void)invalidateLayer
if (!_props->boxShadow.empty()) {
_boxShadowLayer = [CALayer layer];
[self.layer addSublayer:_boxShadowLayer];
_boxShadowLayer.zPosition = CGFLOAT_MIN;
_boxShadowLayer.zPosition = _borderLayer.zPosition;
_boxShadowLayer.frame = RCTGetBoundingRect(_props->boxShadow, self.layer.frame.size);

UIImage *boxShadowImage = RCTGetBoxShadowImage(
Expand Down

0 comments on commit f42673c

Please sign in to comment.