Skip to content

Commit

Permalink
Prevent text from animating
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Apr 23, 2019
1 parent ce0d305 commit 218ab11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Libraries/Text/Text/RCTTextRenderer.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,10 @@ - (void)drawLayer:(CALayer *)layer
CGContextRestoreGState(ctx);
}

- (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)event
{
// Disable all implicit animations.
return (id)[NSNull null];
}

@end

0 comments on commit 218ab11

Please sign in to comment.