-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Image flash when switching tabs #709
Comments
Hi, which version of Nuke are you using? |
The latest, 12.1.1, but definitely saw it earlier. Happy to go back and see if it's all of 12, if that's useful. Don't think that code would work pre-12 though. |
I think we have the same problem. @PaulDoesDev do you have a demo project to share? |
We experience the same behavior with the 12.1.2 Nuke. onAppear() gets triggered inside LazyImage and the check |
Quick and dirty demo app |
Thanks, @PaulDoesDev. Are there any additional steps needed to repro it? When I switch tabs, it doesn't blink. I tested on iOS 16.4 and iOS 17.0. Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-06-30.at.10.10.57.mp4 |
In the Simulator, I can get it to happen if I keep switching back and forth between tabs repeatedly. On device though, it happens on every tab switch. iPhone 14 Pro - 17.0 beta2 |
Yes, I can also see it on the device. It seems like a dropped frame, which is weird because |
What bothers us in our project is the animation. When I even assign a default animation to lazy image in demo project
I get reassigning through red placeholder on every tab change. I would expect transaction to happen only after loading step, not initial assignment. |
Same issue here, as above, transition happens everytime which is a massive regression vs v11. Thanks! |
Fixed in 12.1.3. |
Hi,
I've been using Nuke for a while and I love it, but I noticed that there's a noticible flash when switching between tabs
Nuke.mp4
as compared to say Kingfisher
Kingfisher.mp4
Here's the code for both (url: URL, color: Color):
Nuke:
Kingfisher:
I see no flash with the built-in AsyncImage either:
The text was updated successfully, but these errors were encountered: