Closed Bug 1796302 Opened 3 years ago Closed 2 years ago

pageYOffset and viewport height styling issues

Categories

(Firefox for Android :: Toolbar, defect)

All
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1649837

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.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Severity: -- → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1649837
Resolution: --- → DUPLICATE
Flags: needinfo?(cpeterson)
You need to log in before you can comment on or make changes to this bug.