Foundation.mozilla.org: Landscape mode on iPhone X looks odd

Created on 20 Oct 2018  路  24Comments  路  Source: mozilla/foundation.mozilla.org

The background doesn鈥檛 span the entire page or something.

https://foundation.mozilla.org

bug engineering frontend

All 24 comments

2472b46c-aed6-4846-9eb0-d7c536cbe965

I noticed this happens in Firefox app on iOS, but works fine in Safari iOS (haven't checked other browsers.)

I was looking into this and trying to set up 'Debugging Firefox OS over WiFi' ( https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_Firefox_OS_over_Wifi ). This page seems out of date, and settings panel in neither the Firefox iOS app or the desktop app show anything about debugging over wifi. Am I missing it? Anyone know of another way to debug this in Firefox iOS?

It also looks weird in Chrome iOS, so perhaps it's a bug in iOS's rendering? Apparently you can't debug a WKWebView page unless you've built the app (Firefox) yourself in Xcode. See this ticket and I confirmed in Mozilla's Slack.

Part of this is probably that the html element background is black, but I'm not sure about the extra horizontal scrolling.

(If I assume this correctly) I think the horizontal scrolling you are seeing in the screenshot is the persistent iPhone X grab bar thing at the bottom of the screen. Mine on iPhone X does not scroll horizontally.

This got resolved recently through various PRs that solved issues that had aspects of this showing up even in portrait mode.

Nope, still there. I think this is something related to the iOS web-view implementation that 3rd party browsers use, so the end result of this may be an Apple bug report, but I want to leave it open for now.

All 3 seem to have y scroll in Firefox on an iPhone XS. (Can you change the background color on them in the future? I think that might make it easier to see)

unadjustednonraw_thumb_9d5e
unadjustednonraw_thumb_9d5f
unadjustednonraw_thumb_9d60
unadjustednonraw_thumb_9d61

Wat. Okay, let's try this on body...

Looks identical to the previous set, by my eye.

I guess that blows a stackoverflow claim that position:relative on the body should make ios fall in line out of the water then.

This is interesting. Seems to work (and this is what I get on iOS Firefox when scrolling the last one to the side) image

Notice the white space, which is visible in all cases. It's matching what's described in the 3rd image of https://webkit.org/blog/7929/designing-websites-for-iphone-x/

Let's solve this in stages. First let's get the overflow fixed for most devices, and then worry about whether we want to spend time fixing a problem only people with a $1200 phone run into.

Yeah, this ticket is certainly lower priority than #2292. I'm fine leaving this as something a contributor or new hire can pick up on if they have interest.

Is this still affecting us, @alanmoo? (I think we fixed this, but I need your device to confirm =)

Still wonky.

@alanmoo is it stillll wonky?

No, it got fixed somehow! Huzzah!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hannahkane picture hannahkane  路  3Comments

kristinashu picture kristinashu  路  4Comments

benhohner picture benhohner  路  4Comments

alanmoo picture alanmoo  路  3Comments

kristinashu picture kristinashu  路  3Comments