diff --git a/ios/Elements/RNSVGGroup.m b/ios/Elements/RNSVGGroup.m index e9021051..f4334517 100644 --- a/ios/Elements/RNSVGGroup.m +++ b/ios/Elements/RNSVGGroup.m @@ -79,7 +79,9 @@ CGPoint center = CGPointApplyAffineTransform(mid, matrix); self.bounds = bounds; - self.center = center; + if (!isnan(center.x) && !isnan(center.y)) { + self.center = center; + } self.frame = bounds; [self popGlyphContext];