-
Notifications
You must be signed in to change notification settings - Fork 201
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
Animated shaking #281
Comments
Hi @xuelongqy, thanks for reporting. I can replicate it on my end and we'll investigate. Which Flutter channel are you on? |
It will crash on Flutter 3.7.0 |
The same problem causes higher CPU usage approx 45% when using onInit and use custom controls. It also feels noticeable lag on an android device |
@xuelongqy I tested and it seems like it may be in issue with the compiler. For me it only crashes with a debug build, and appears to be fixed in the Master Flutter channel. Can you confirm if you experience the same? A similar (though maybe not related) issue was reported here: flutter/flutter#118559 For that issue there is a cherry pick for stable: dart-lang/sdk#51147 |
@HayesGordon I have tried by switching to flutter master but it didn't change anything |
Hi @malikhamza88 are you referring to the CPU usage or the crash. The suggestion to switch to Master was mostly related to the crash |
oh. I was referring to CPU usage and lag issues using approx similar code |
Just an update, the crash is resolved in v3.7.2 of Flutter, and the inconsistent drawing has been reported to the Flutter team. Waiting for a fix to land |
Tested on the latest beta version of Flutter, and this original issue appears to be resolved (inconsistent path transformation)
Closing this. Please reopen if anyone still experiences this on their end/platform. |
Description
I don't know how to describe it clearly, I tried looking at the code, but I can't locate it. I have provided a video where the problem can be clearly seen.
Animation Code
Steps To Reproduce
Steps to reproduce the behavior:
Run code
Animated shaking of the legs
Source
.riv
/.rev
filehttps://rive.app/community/2233-4412-pull-to-refresh-animation-example/
Expected behavior
The animation of the legs works fine
Screenshots
Record_2023-01-12-11-00-54.mp4
Device & Versions (please complete the following information)
The text was updated successfully, but these errors were encountered: