breautek commented on issue #1491: URL: https://github.com/apache/cordova-ios/issues/1491#issuecomment-2360905826
> Maybe this is something we can manage automatically based on the existence of viewport-fit=cover/viewport-fit=cover? I don't think this sounds right from an API standpoint. `viewport-fit` is suppose to simply change the viewport to scale and fit the "device screen" (which I guess for this would be the application window). Hiding the title based on this field would be an unrelated side effect and I think many would consider it to be a bug if implemented this way. I couldn't find any documentation on MDN but I found this on some sort of backup/experimental MDN site: https://udn.realityripple.com/docs/Web/CSS/@viewport/viewport-fit which states: > The viewport is scaled to fill the device display. It is highly recommended to make use of the [safe area inset variables](https://udn.realityripple.com/docs/Web/CSS/env) to ensure that important content doesn't end up outside the display. I guess a more authoritative source: https://www.w3.org/TR/css-round-display-1/#viewport-fit-descriptor > The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device. If we wanted to provide an API to hide/remove the title bar, it probably should be exposed independently of viewport-fit, in my opinion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org