-
Notifications
You must be signed in to change notification settings - Fork 35
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
Flickers when image changes #114
Comments
That doesn't sound good. Can you help me reproduce this in the sample app? |
Thanks for the fast response. I've forked the repository and updated the sample app here: |
Here's a screen record for reference: Screen_Recording_20241125_180915_Telephoto.mp4cc @saket |
Your reproducer was helpful, thanks! I I wasn't expecting developers to load preview and full images as two distinct requests. There are two issues here that will need to be fixed:
I'll take a look at these soon. |
Thank you. |
Yep. Wanna help me with that? #104 (comment) |
I would love to. However, I recently came across this library and am not fully familiar with its implementation yet. If you could give me to some clues where to start and a draft plan/idea, I can give it a try over the weekends. |
I'll be happy to guide you! My recommendation would be to start by adding a test in
Sending a PR with a failing test would be a good start. |
Noted. I also wanted to share one of my observations:
When In this video, 3 images are loaded without flicking and losing zoom level. Thumbnail > smallSize > fullSize. |
Thanks a lot for fixing flickering issue @saket. When can we expect a release for it? A snapshot would work as well. And looks like zoom level is retained, only the position/pan offset is lost when high res image is loaded. |
This should be available in today's snapshot build |
Snapshot worked, thank you! |
When model (ImageRequest) changes in
ZoomableAsyncImage
, it causes a blinking glitch. I've tried Coil's defaultAsyncImage
, and another subsampling library , both loads the new image without flickering. Is there any config intelephoto
to avoid this?Please let me know if you need more information. Thank you.
The text was updated successfully, but these errors were encountered: