Re: [csswg-drafts] [css-overflow] Add mechanism for disabling scrollbars

@alexelias 
> The main use I have in mind is precisely developers who want to manually provide an alternate scrollbar affordance (e.g. contact list big-letter scrollbar). Your proposal raises the risk of double-scrollbar glitches, then. You'd be forcing webdevs to detect whether the UA scrollbar is present or not in order to disable their superior bespoke scrollbar...

No, if you're providing an alternate scrollbar you'd just use `overflow:hidden`.  The whole point of an alternate scrollbar is that it's controlling scrolling via JS, so there's no need for anything else.

Unless you want an alternate scroller for everyone, *and* allow panning-friendly devices to scroll in their normal way with UA-provided scrolling?  With, I suppose, a passive scroll listener to update the alternate scroller as well?  I could get down with this, I guess.  Naming something like `replacement` might help communicate what it's intended for, and reduce random usage.

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

Received on Monday, 5 June 2017 20:50:18 UTC