Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue rendering on iOS. #31111

Closed
AdnanLatif opened this issue Mar 8, 2021 · 1 comment
Closed

Issue rendering on iOS. #31111

AdnanLatif opened this issue Mar 8, 2021 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@AdnanLatif
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native@0.62.0 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
index 21f1a06..0ff66f3 100644
--- a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
+++ b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
@@ -275,6 +275,8 @@ static NSUInteger RCTDeviceFreeMemory() {
   if (_currentFrame) {
     layer.contentsScale = self.animatedImageScale;
     layer.contents = (__bridge id)_currentFrame.CGImage;
+  } else {
+    [super displayLayer:layer];
   }
 }
 

This issue body was partially generated by patch-package.

@chrisbobbe
Copy link

chrisbobbe commented Mar 16, 2021

This looks like 123423c2a, which is already on master. I suspect this auto-generated issue should be closed.

@facebook facebook locked as resolved and limited conversation to collaborators Sep 16, 2022
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Sep 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants