Don't flash nested-subframe scrollbars on inital page reflow
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
People
(Reporter: agi, Unassigned)
Details
(Whiteboard: [geckoview])
Gecko flashes scrollbars on Android on page load which is a little bit jarring. It would be nice if we didn't.
Comparison with Chrome: https://imgur.com/a/qJUGfS9
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
To be specific, there are scrollbars shown under 'ALL NEWS BOOKS' and under the day selector for the weather. There is also one shown for the root scroll frame.
Comment 2•4 years ago
|
||
(In reply to Agi Sferro | :agi | ⏰ PST | he/him from comment #0)
Comparison with Chrome: https://imgur.com/a/qJUGfS9
The Chrome video also has scrollbars flashing, just for a very brief time.
Comment 3•4 years ago
|
||
My mistake, I was looking at the root scrollbar. This bug is about the subframe scrollbars.
Comment 4•4 years ago
|
||
The scrollbar is probably shown because we hit one of the ActivityOccurred()
calls in nsGfxScrollFrame.cpp.
As a potential fix, we could skip the call for non-mIsRoot
scroll frames when it is encountered for the first time. But this behavior should be controlled by a new LookAndFeel flag. We want to keep flashing subframe scrollbars on macOS.
Updated•3 years ago
|
Description
•