Closed
Bug 1342436
Opened 7 years ago
Closed 7 years ago
Don't send duplicate DOM 'scroll' event due to sub-pixel scrolling
Categories
(Firefox for Android Graveyard :: Toolbar, defect, P3)
Firefox for Android Graveyard
Toolbar
Tracking
(firefox54 affected)
RESOLVED
DUPLICATE
of bug 1230176
Tracking | Status | |
---|---|---|
firefox54 | --- | affected |
People
(Reporter: snorp, Unassigned)
References
Details
Right now on a high-DPI screen it's possible to get duplicate 'scroll' events (i.e., the same pageY) if you scroll slowly. I know we've brought this up before, but it appears to be one of the reasons that fixed-position navbars have problems in Fennec. They often do a "if (curPageY <= lastPageY) showNavBar();" type of thing, and our current behavior causes it to constantly show/hide when you creep along. It could be argued that this is a web compat issue that we should punt to developers, but I also think we should just be reasonable. If we only scrolled by a sub-pixel in terms of page coordinates, then a scroll didn't actually occur, right?
Reporter | ||
Comment 1•7 years ago
|
||
This is very noticeable on bostonglobe.com articles, which has drawn the ire of blassey.
Reporter | ||
Comment 4•7 years ago
|
||
Maybe so, but the issue appears to be back.
Comment 5•7 years ago
|
||
If it's a regression on their side, can we ping them again?
Flags: needinfo?(miket)
Reporter | ||
Comment 6•7 years ago
|
||
Mike might know people there, but I also think we're just not doing what people expect.
Comment 7•7 years ago
|
||
My main objection to making a gecko change was stated in bug 1230176 comment 6 but if our behaviour is different from other browsers here I'm fine with changing it. I just don't want to trade one set of compat problems for another.
Comment 8•7 years ago
|
||
Dropping stale needinfo. Also duping this over to bug 1230176 which was reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(miket)
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•