mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
fix: currentColor overflow (#2570)
# Summary This is a blind fix for issue #2566 that resets the caller on `prepareForRecycle`. While it should help address the overflow happening in some cases, I cannot guarantee that it will fully resolve the issue due to the lack of a reproducible scenario. ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ✅ | | MacOS | ✅ |
This commit is contained in:
@@ -241,6 +241,7 @@ static RNSVGRenderable *_contextElement;
|
|||||||
_vectorEffect = kRNSVGVectorEffectDefault;
|
_vectorEffect = kRNSVGVectorEffectDefault;
|
||||||
_propList = nil;
|
_propList = nil;
|
||||||
_filter = nil;
|
_filter = nil;
|
||||||
|
_caller = nil;
|
||||||
}
|
}
|
||||||
#endif // RCT_NEW_ARCH_ENABLED
|
#endif // RCT_NEW_ARCH_ENABLED
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user