Skip to content

Commit

Permalink
[iOS] Fabric: Fixes implicit animation when set background color of View
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Oct 16, 2024
1 parent 4df224c commit e68ed46
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ - (void)invalidateLayer
_backgroundColorLayer = [CALayer layer];
_backgroundColorLayer.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
_backgroundColorLayer.zPosition = BACKGROUND_COLOR_ZPOSITION;
_backgroundColorLayer.actions = @{@"backgroundColor" : [NSNull null]};
[self.layer addSublayer:_backgroundColorLayer];
}

Expand Down

0 comments on commit e68ed46

Please sign in to comment.