Horizontal Scrolling of elements is not registered during page load or janky

RESOLVED INACTIVE

Status

()

Firefox for Android
Toolbar
RESOLVED INACTIVE
3 years ago
2 days ago

People

(Reporter: bull500, Unassigned)

Tracking

(Depends on: 1 bug)

45 Branch
ARM
Android
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(platform-rel -)

Details

(Whiteboard: [platform-rel-Facebook], URL)

(Reporter)

Description

3 years ago
1. Go to http://www.theverge.com/
2. As soon as the page is visible try and move the horizontal section of the stories posted on the site.  
It doesn't register the horizontal scroll movement until a certain point of loading but on Chrome it immediately registers as soon as the page appears.  

When the site(The Verge) has completely finished loading the performance is smooth


Also In techcruch.com the horizontal scroll of elements on the site is janky and not smooth. 
Particularly terrible on m.facebook.com where horizontal scrolling elements appear as 'sponsored' content or suggested friends. 

Device:
Moto G 2nd Gen Lollipop 5.0.2
FF 45 2015-12-01
(Reporter)

Updated

3 years ago
Blocks: 1206874
(In reply to bull500 from comment #0)
> 1. Go to http://www.theverge.com/
> 2. As soon as the page is visible try and move the horizontal section of the
> stories posted on the site.  
> It doesn't register the horizontal scroll movement until a certain point of
> loading but on Chrome it immediately registers as soon as the page appears.  
> 
> When the site(The Verge) has completely finished loading the performance is
> smooth

I believe this is because we haven't layerized the content in the horizontal div initially, and it takes a while for that to happen. During load there's a lot painting happening so layerization might get held up. I'm not sure what we can do about this, but it would be nice to find a solution.

> Also In techcruch.com the horizontal scroll of elements on the site is janky
> and not smooth. 

This is because they are implementing scrolling using touch listeners.

> Particularly terrible on m.facebook.com where horizontal scrolling elements
> appear as 'sponsored' content or suggested friends. 

Ditto. These last two are evangelism issues and I'm not going to track them in this bug. If you would like to see them fixed please file separate bugs for them as the webcompat team will have to reach out to the site owners.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 2

3 years ago
Kartikaya,

what do you suggest theverge should modify to be less janky?
It seems to be an optimization issue of Firefox, and I'm always a bit reluctant to contact a site when the issue is on our side, except if something is really a question of different code paths in JS for example.
Flags: needinfo?(bugmail.mozilla)
I don't think theverge should modify anything; that is entirely on us. It's techcrunch and Facebook that are doing scrolling via JS rather than letting the browser handle it.
Flags: needinfo?(bugmail.mozilla)
Blocks: 776030
No longer blocks: 1206874
platform-rel: --- → ?
Whiteboard: [platform-rel-Facebook]

Updated

2 years ago
platform-rel: ? → -

Comment 4

2 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.