Closed Bug 984965 Opened 11 years ago Closed 9 years ago

Laggy scrolling for overflow: auto content

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

28 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1895.0 Safari/537.36 Steps to reproduce: Scrolling lags on overflow: auto content Go to http://hn.premii.com/ on android firefox. Actual results: Scrolling is not smooth Expected results: Smooth Scrolling. Same works on android browser on Android, Chrome on Android, Safari on iOS, IE on WP10.
OS: Windows 8.1 → Android
Priority: -- → P2
Hardware: x86_64 → ARM
Which device, Firefox version, Android version are you using?
Component: Web Apps → Graphics, Panning and Zooming
Flags: needinfo?(mozilla)
Priority: P2 → --
QA Contact: aaron.train
Galaxy S3 - SGH-I747 - Android 4.3.1 Nexus 4 - Android 4.4.2 UserAgent on both mozilla/5.0 (android; mobile; rv:28.0) gecko/28.0 firefox/28.0
Flags: needinfo?(mozilla)
Hm, the site doesn't want to complete loading for me. I just see a spinner and loading text. If you can still load the site it would be good to check Nightly (http://nightly.mozilla.org) to see if the issue is still present on Firefox 31.
Site is working for me. I downloaded latest nightly and it is worse compare to beta and v28. On nightly, not only scrolling is bad but it tears the rendering after scroll. I can see rendering tiles .
(In reply to mozilla from comment #4) > Site is working for me. > > I downloaded latest nightly and it is worse compare to beta and v28. On > nightly, not only scrolling is bad but it tears the rendering after scroll. > I can see rendering tiles . Sorry about that, that would be bug 983208 which we hope to fix very soon.
It seems to scroll smoothly enough for me on a Nexus 4 device. Is the scrolling significantly worse compared to regular pages for you? Or is it just slightly worse? We do use synchronous scrolling for scrollable subdocuments (such as overflow:auto) so slightly worse scrolling is expected in this case. This will be fixed once we switch Fennec over to using the C++ APZC code (bug 776030). You can also mitigate this problem by making the scrollable content the body of your document, and making the topbar position:fixed. I didn't look at the layout of the page in detail to see if this would break other things, but from a quick glance it looked like it should work.
May I suggest a demo page? Comparing Fennec to Chrome on Android I can get to the bottom in one fling on Chrome and the least flings for Fennec is 5 for me. http://www.html5rocks.com/static/demos/scrolling/demo.html
Fixed with APZ scrolling - both the URLs in comment 0 and comment 7 seem to scroll well for me in 48.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.