firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

Viewport resizes w/ upward scrolling

Open joncole2014 opened this issue 4 years ago • 9 comments

  • Steps to reproduce
    • Use (or create) a webpage that uses the following CSS declaration:
#container {
  height: 100vh;
}

/* load this container at 100% the viewport height */
  • Expected behavior

    • The viewport size does not change within iOS, as it's not a window, thus cannot resize
  • Actual behavior

    • Downward scrolling is fine. When you scroll up, the viewport resizes. This messes with content that is designed mobile first.
    • This issue is not present on Safari. I am assuming this is because the navigation "floats" on top of the viewport in Safari.
  • Device Information

    • iPhone XS
    • iOS version: 15.0.2
    • Firefox Daylight Version: 38.1 (6216)
  • Other information

    • This may be by design.
    • I did not see other issues relating to this.

┆Issue is synchronized with this Jira Task

joncole2014 avatar Oct 21 '21 03:10 joncole2014

create a webcompat issue. https://github.com/webcompat/web-bugs/issues/74844

karlcow avatar Oct 21 '21 07:10 karlcow

Issue still present. This makes it very difficult to use Firefox on iOS since several websites are broken.

r-vdp avatar Jul 14 '22 09:07 r-vdp

This issue needs more attention. It makes many websites that depend on the viewport painful to use.

E.x. If a website were to have something like a hero at the top which had a size of 100vh, every time that you would change scroll direction, the hero would resize, causing the rest of the page to move with it.

ImpossibleReality avatar Aug 13 '22 00:08 ImpossibleReality

From what I get, this probably relates to https://github.com/mozilla-mobile/firefox-ios/issues/11574. We should implement new APIs

lmarceau avatar Aug 15 '22 13:08 lmarceau

Yes, these are related.

emilio avatar Aug 24 '22 18:08 emilio

This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!

github-actions[bot] avatar Jun 17 '24 00:06 github-actions[bot]

not fixed

struq avatar Jun 29 '24 19:06 struq

This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!

github-actions[bot] avatar Jun 15 '25 00:06 github-actions[bot]

This is still an issue.

emilio avatar Jun 15 '25 10:06 emilio