Re: [csswg-drafts] [css-scrollbars][proposal] Define the scrollable area of an element (#3428)

@upsuper what if we suggest that scrollbars should always overlay if this property is defined? This is already the behaviour of browsers on Windows if you use the `sticky` scrolling virtualisation trick you suggested in the other issue, so for that use case it makes absolutely no difference.  It may require some additional properties to prevent the scrollbar from obscuring content, though.

Alternatively, it wouldn't necessarily be a bad thing if it did only apply to overlay scrollbars, as it wouldn't create an inconsistent experience for any single user, whereas a custom overlay scrollbar would.  The goal here is to keep native scrollbars and avoid changing the actual look and feel of them.

@jonjohnjohnson as I said to @upsuper, this property could potentially force overlaying of scrollbars, in which case that title would be inaccurate.  I'm happy to change it if we can pin down the details into something that is acceptable, however.

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

Received on Monday, 14 January 2019 15:36:43 UTC