-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
iOS: animation problem on multiple and continuous events #13162
Comments
There was a |
I was aware of this change but, as I wrote, it's not a conversion issue. That function is working properly. |
If you use a touchstart instead of move (and remove the click) you can see a difference: |
Solved thanks to @m1ga tip. On rotateHand, delta must to be calculated starting from the position when touch started. With this change, it works on SDK 10.x and no more on SDK 9.3.2. But it does not matter.
|
On iOS I have a view working like a clock with an hand that rotates 360°. This worked properly until SDK 9.3.2.
With SDK 10.1.0.GA something goes wrong with animation.
It seems not to be related to function convertPointToView modified since SDK 10.0.0. It uses the right unit (dp).
The problem happens while receiving multiple and continuous touchmove events. Then multiple and continuous animations are executed.
Single animation (click on the clockView) works properly on SDK 10.1.0 too.
Video SDK 9.3.2: https://youtu.be/Teq2jfxNKSY
Video SDK 10.1.0: https://youtu.be/VDXVGHBiV5g
Environment
Titanium SDK version: 9.3.2.GA and 10.1.0.GA
CLI version: 5.4.0
The text was updated successfully, but these errors were encountered: