pageYOffset and viewport height styling issues
Categories
(Firefox for Android :: Toolbar, defect)
Tracking
()
People
(Reporter: gl, Unassigned)
Details
From github: https://github.com/mozilla-mobile/android-components/issues/7585.
Filed from https://bugzilla.mozilla.org/show_bug.cgi?id=1649837
Steps to reproduce:
Visit example site: https://jonohewitt.github.io/pixel-scroller/ with Firefox Nightly 200630 06:01, version 79.0a1
Scroll down the page and back up.
Actual results:
window.pageYOffset is giving values >1 when scrolling back to the very top of the page. Maybe related to the very thin white line at the top of the window that appears immediately on scroll?
Also, if you scroll down to the bottom of the page, the 100vh CSS styling for the bottom pink section is not taking up the whole window height. It has a section of blue at the top.
Expected results:
window.pageYOffset should be giving a 0 value when scrolled back to the very top.
The bottom section should fill the window with pink.
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•