-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
material_3_demo
scrolling has jitters on 3.7
#2009
Comments
@iliyami cc @TahaTesser |
Triage reportHaving a simple Code sample: Material 3 official demo https://github.com/flutter/samples/tree/main/material_3_demo VideoRPReplay_Final1674821586.MP4
|
I was about to file an issue for this. This occurs also in our app on both latest master and stable channels. I noticed that keeping the finger onto the screen (while scrolling) resolves the janks. So it might be somehow related to the tap-up gesture of the swipe up/down action |
Normal scrolling FullSizeRender.MOVScrolling with the finger onto the screen FullSizeRender.MOVImpeller for iOS fixed it. Issue is only on android |
@exaby73 yea this is much visible when listView is not too simple. I thought this issue was caused by a platform view also placed on the scene (outside the list) as reported with flutter/flutter#119337. But then I noticed issue occurs also without native platform. Although here we cite material3 example, it is not related to material3. It also looks somehow related to the swipe gesture, if the finger leaves the screen the scrolling jittery takes in. Due to it app looks bad on android, hope you guys can fix it soon 🤞 |
I think I noticed the same on iOS. But when screen recording is running everything is smooth. |
Ofc Im referring to flutter android, not just flutter web. Issue seems trasversal. |
I had filed #1602 |
I reproduce the issue when running that demo app as an Android app too ( For me it also reproduces even when my finger stays continuously on the screen, so that I'm always dragging and never flinging. It'll be moving smoothly under my finger, then suddenly display a shuddering or jittering effect. I believe what's happening is that it briefly fails to follow my finger, then suddenly catches up a moment later. Here's screen recordings of that effect, with my finger always on the screen. One is in release mode, and then one is in profile mode showing the performance overlay. In the profile-mode recording, one thing I see is that the shudders seem to coincide with slow frames. So that suggests that the root cause is a performance issue. (If you watch these directly in the GitHub web interface, the effect is visible but not nearly as conspicuous as it is in real life. If you download them and watch in a local video player, the effect sticks out a lot more, much like it does on the real device.)
|
Hi everyone! I haven't noticed any lag issue on mobile, this behavior happens only with the web. 20230818_091328.MP4RPReplay_Final1692342459.MP4This, instead, is the result of loading the flutter web demo 3 page on an android device (Samsung A53) with its native browser. d009f485-0fe4-478d-bbbe-3cafc9e6a28f.MP4This thing has nothing to do with material 3, it was present before too. Flutter on mobile works perfect and is very smooth, but on the web is very laggy. |
material_3_demo
scrolling has jitters on 3.7
The problem still persists. I can reproduce it right now. |
Hi, I've just checked the flutter material 3 demo web site with my phone on chrome, and found out that scrolling has lags.
What's the problem? Is this an issue with the flutter framework itself or it's just a performance issue because of bad coding?
The text was updated successfully, but these errors were encountered: