r/FlutterDev • u/dannyfrfr • Aug 13 '23
Discussion Flutter scroll jank issues are barely touched
From being on this sub frequently, it's clear a big (maybe the biggest) deterrent of getting new Flutter devs by far is apps not feeling 'native' on iOS. First it was opening animation jank, which is now pretty much fixed by Impeller, and now it's scroll jank/lag. Whether or not this is a justified reason not to use Flutter for iOS apps is up for debate. What isn't up for debate is that the GitHub issue was opened a year ago and has received minimal attention. I find it strange how so many Flutter developers defend Flutter's scroll lag as if it's an issue that's had many futile attempts to fix it. There have been virtually no attempts to fix this. For an issue so pressing, the Flutter team should be giving it much more attention.
Relevant GitHub issues:
https://github.com/flutter/flutter/issues/110431
https://github.com/flutter/flutter/issues/113494
I would like to add that I'm not trying to contribute to the Flutter negativity that's been present in this sub recently, but I think it's important to recognize any issue that receives this much attention should at least have been assigned to someone to fix after almost a year since the issue has opened. Personally, I don't think this is a reason to not use Flutter and my users will just have to deal with that, but if someone does it's their business. I also think that those who say end users generally won't notice should try it on older devices. It became much more apparent to me when I did.
3
u/Agitated_Yam4232 Aug 13 '23
https://github.com/orgs/flutter/projects/21
44
u/meanysc2 Aug 14 '23
I doubt the flutter team understands their userbase. Why are they expanding to so many platforms when their mobile developers are at core, raising such fundamental issues?
20
u/Sethu_Senthil Aug 14 '23
There is also another jitter issue for iOS devices with promotion (120hz) that is still not fixed, it was recently caused on iOS 16.6. It’s very noticeable
35
u/[deleted] Aug 14 '23
This isn't negativity, it's raising a fundamental UX problem.
5
u/WholeFix Aug 14 '23
Here is another one https://github.com/flutter/flutter/issues/99158
1
u/ChristianKl Aug 14 '23
Relative to the total latency the effect is smaller on older phones. If a phone has a latency of 100ms and Flutter adds another 16ms, that's less likely to be noticed than when the phone has 50ms latency and Flutter adds another 16ms.
https://whaddafudge.com/touch-latency-vs-refresh-rate-which-is-more-important/ is an article that talks a bit about the latency that's present in phones.
Yes, it would be better if Flutter wouldn't add 16ms of latency, but if you treat Flutter like it's responsible for the majority of the latency of an older phone, you blame Flutter for problems that are not Flutter-based. Native apps also have latency.
2
u/the_techouse Aug 16 '23
FYI 3.13 just got released
1
u/Snoo31053 Aug 15 '23
Thats the cost of flexibility , flutter wants the mobile, web and desktop. Its been annoying to deal with these issues but hopefully the flutter team can fix them all. Because honestly the only thing stopping from switching RN is the RN does not support desktop fairly well at all.
1
u/[deleted] Aug 17 '23
Google has gutted flutter's staff and it deffo feels like they're struggling.
1
u/GetBoolean Aug 18 '23
the flutter team isnt big enough to handle all the issues. if it's important to you, maybe look into investigating the issue and help them out (or even propose a fix)
0
u/[deleted] Aug 13 '23
Interesting. I think this is the payoff for flexibility that flutter provides. I just get around these issues by using alternatives/packages, keeping code as efficient as possible and using clean animations.
-7
u/[deleted] Aug 13 '23
[removed] — view removed comment