-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Scrolling performance in Files is really bad on iOS #22347
Comments
Would be good to bisect that to find out the cause. |
I've had a look at the template and it hasn't changed for 8.2, so it must come from the CSS and it has to be fixed app by app as controls is not in the base template. |
So you’re saying the fixed controls bar could be a cause? Does it work fine in the Mail app and others which don’t have that bar? |
It's more about the choice of scrollable element. On 8.2, you have the new structure (aligned with the logged-in side), which is better visually, but which kills acceleration, because the fixed elements are inside the scrollable element. If you move controls outside of the content, then you get to keep the scrollbar "inside", but you have to rewrite some CSS to make it work with the navigation panel and maybe the sidebar. |
So,
BAD but
GOOD |
So any fixed element inside |
@rperezb can you have someone in mobile have a look? |
The problem here is that we already changed the container structure and changing it again, especially in a backport, is likely to cause more regressions. I'd rather move this to 9.1 which is another opportunity to reconsider the container layouts. Moving to 9.1 CC @cmonteroluque |
Approved |
I agree. CC @MTRichards as a heads up |
As long as we actually cover it, sounds like a plan for 9.1. |
@MTRichards @cmonteroluque to clarify, this is about the web UI on mobile, not mobile apps. |
Yes, understood. thx. |
right |
I worked on a pr on the mail app this week and did exactly the same stuff. Currently we have a sidebar with the settings button fixed on the bottom.
To do that we can also drop the float left of the #app-navigation to replace it with some beautiful display:flex. And for the scoll part of the ul, we should use the css function |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
8.28.1? introduced a severe performance regression on mobile. I'm not sure exactly which change has created the problem, perhaps the sidebar, but if you scroll through files on mobile, it's very ugly.There has been an attempt to fix the situation, but it broke things even more on other platforms.
The problem has been solved in Gallery and you can compare scrolling performance by switching between the 2 views to understand the problem.
A similar fix could be applied to
files
, but it involves modifying the structure of the templates in order to take the fixed controls bar outside of the scrolling div and may not be the best solution for all apps.Diagnostics
8.2
Files/logged-in: slow
Files/public: slow
Gallery/logged-in: was slow, had to change the structure
Gallery/public: was slow
8.1
Files/logged-in: slow. Has controls, navigation panel
Files/public: smooth. Has controls
Gallery/logged-in: slow. Has controls
Gallery/public: slow. Has controls
@jancborchardt @Henni @PVince81 @MorrisJobke @rullzer
The text was updated successfully, but these errors were encountered: