saket / telephoto

Building blocks for designing media experiences in Compose UI
https://saket.github.io/telephoto/
Apache License 2.0
872 stars 29 forks source link

Image can't be panned in reverse after it has reached its edge #33

Closed nishankhadka09 closed 11 months ago

nishankhadka09 commented 1 year ago

If you zoom an image then use your finger to move it up- down or left -right, you can notice that it's not very smooth.

saket commented 1 year ago

Can you share a video, and a reproducer if it's not the sample app?

nishankhadka09 commented 1 year ago

Screen_recording_20230623_122610

saket commented 1 year ago

So weird. Please share a reproducer project? I can take a look in some time.

nishankhadka09 commented 1 year ago

zoomable.zip

nishankhadka09 commented 1 year ago

I tested with three images, problem happens with image that doesn't fill the screen, like the one above.

saket commented 11 months ago

Thanks for reporting this @nishankhadka09! I'll release the fix as part of 0.5.0 soon. In the meantime, you can unblock yourself by using 0.5.0-SNAPSHOT.