Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-values-4] Consider giving viewport units more definition #5408

Closed
abrad1212 opened this issue Aug 7, 2020 · 2 comments
Closed

[css-values-4] Consider giving viewport units more definition #5408

abrad1212 opened this issue Aug 7, 2020 · 2 comments

Comments

@abrad1212
Copy link

Mobile browsers are really different in calculating such units. Mobile Safari doesn't account for the address bar, nor does it calculate for the bottom navigation bar in the app. This has resulted in really hacked together solutions that break every time iOS updates. Mobile chrome does something similar.

A definition such as Equal to 1% of the height of the initial containing block. Not including obstructions to the viewport such as address bars/URL bars, bottom navigation bars, and or anything else that could obstruct any part of the viewport.

Sorry if this doesn't belong here, this is something that has been frustrating me for some time now.

@jonjohnjohnson
Copy link

I think you'll see movement in solving this problem in these issues:

If any of those are on the right track, you might wanna add your thoughts to them and close this to consolidate things.

@faceless2 faceless2 changed the title [css-page-3] Consider giving viewport units more definition [css-units-4] Consider giving viewport units more definition Aug 12, 2020
@faceless2 faceless2 changed the title [css-units-4] Consider giving viewport units more definition [css-values-4] Consider giving viewport units more definition Aug 12, 2020
@tabatkins tabatkins added the css-values-4 Current Work label Aug 19, 2020
@jonjohnjohnson
Copy link

@tabatkins should this be closed in favor of what's been happening in #6454 / #6453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants