Re: [csswg-drafts] [css-values-4] Should `dv*` account for `overflow: auto` scrollbars dynamically? (#10059)

I'm in favor of it. I initially designed for them to be taken into account and I still support the position that they are supposed to be taken into account.

@simevidas  `dvh` and `dvw` were specially designed for those 2 use-cases and the "full screen page" use-case. It's when you have some part of the page that is supposed to conform to the window size ("zoomable" window size, in case of mobile). It's to adapt to everything that is in the way of seeing the content to ensure it stays visible.

The main idea is also for the addressbar to retract and when that happens, things either get larger or there's more content visible.

I haven't done much public work but I already made some PoC for my company which previously the solution was mostly a hack and with the use of dvh. One example is the dialogue always looks "good" (from the designers POV) and centered on screen, taking most but not all height and width, matching the design documents from the designers and without the need for hacky javascript (the scrollbars are still a small issue, though)





-- 
GitHub Notification of comment by brunoais
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10059#issuecomment-1992675136 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 12 March 2024 22:17:58 UTC