-
-
Notifications
You must be signed in to change notification settings - Fork 534
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 Simulator List View Jank #1149
Comments
Could you provide a minimal reproducible sample? Scrolling jank can have multiple reasons. I doubt that the inclusion of a PlatformView for the camera preview would cause scrolling jank in this case. What version of the library are you using? What Flutter version are you using? (There was a recent bugfix in Flutter for rendering artifacts when using Impeller on the iOS Simulator) |
Here is a Video of the list view jank before and after adding mobile_scanner Versions:
Steps to Reproduce
Code:
|
same issue |
This is due to #1018 when the app is run through Rosetta automatically. |
Interesting finding! I'm not sure if MLKit supports arm64 Simulators, so we would have to look into that. But then the list view jank is just because the app is ran through Rosetta?
@BraydenKlemens I'll have to ask again, what Flutter version are you on? Earlier Flutter versions used Rosetta when running on arm64 (and I believe that was also the case for the iOS Simulator) Could you try to see if this also happens with the latest Flutter version? (or maybe one of the last three stable releases) |
Yes. Likely the JIT used by Flutter in Debug mode does not play well with the translation. |
@navaronbracke flutter version is 3.24. Please refer to previous post for a list of versions. I will try some earlier stable versions as well, to see if the issue persists. |
Ah, yes sorry I missed that. Could still be something with arm64 iOS Simulators though |
Does this reproduce with Impeller off? |
Hi @navaronbracke @BraydenKlemens I've also faced with it. Looks like the issue doesn't occur with Impeller off: |
This is fixed in the version |
Per the above comment, I'm going to close this issue. |
When adding this package to any flutter project it causes jank frames on the ios simulator. This occurs when performing any animation such as switching between tab-bar tabs or scrolling a list view. Current device is apple m1.
The text was updated successfully, but these errors were encountered: