Re: [csswg-drafts] [css-sizing-4] Scrollbars when intrinsic-width is > width? (#4415)

>Asking differently, especially given that it doesn't obviously fall out of how things work, I'd like to see a use-case for wanting scrollbars based on the intrinsic size when there's not actual content to scroll to.

This is a common request of web-developers which is (as Vlad said) - done with placeholder elements today. For an example see:
https://googlechromelabs.github.io/ui-element-samples/infinite-scroller/
(this is just one approach w/ transform, but there are others).

From personal experience (when I was a front-end engineer) I used a dummy element to crate scrollable overflow whenever I built scrollers which loaded additional content.

cc/ @surma who might be able to provide additional context.


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

Received on Thursday, 7 November 2019 17:16:47 UTC