natario1 / ZoomLayout

2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.
https://natario1.github.io/ZoomLayout
Apache License 2.0
1.03k stars 148 forks source link

Smooth animation into arbitrary view point with zoomlayout #207

Closed Yahor10 closed 2 years ago

Yahor10 commented 2 years ago

Describe the bug

Animation pulls happens when i call zoomLayout.moveTo(zoom,-xOffset,-yOffset,true). Looks like it dodo X axis zoom then Y axis.

Please add a clear description of what the bug is, and fill the list below.

To Reproduce

Steps to reproduce the behavior, possibly in the demo app: Apply animation with X/Y offset into arbitrary point of an view or image.

Expected behavior

Smooth works on the movement of the curve

XML layout

Basic Image with ZoomLayout

Yahor10 commented 2 years ago

Its reproduce often with long animation ( more then 500ms )

markusressel commented 2 years ago

I think you mean the issue described in this one: #188 There has not been a solution to this (yet). I thought this was fixed already. Maybe something else in an unusual configuration still triggers this. But we can discuss this in the mentioned issue.