Re: [csswg-drafts] [css3 positioning] support position:sticky inside an overflow:hidden|auto on general parents (#865)

> Expanding on this, is the problem just that a `max-height` on a table is hard to predict on mobile? (Because `100vh` might be too large depending on what UI is being shown.) If that's the case, would #4329 solve the issue?

@tabatkins I think you said it correct before:

> It seems like the case here is wanting to put horizontal scrollbars on a too-wide table, but not put vertical scrollbars on it when it's taller than 100vh. (Or generally "whatever the height of the screen is", since that's a... difficult-to-predict value on mobile.) And then still get the header rows to be sticky as the table scrolls off, but stay contained to the table itself as normal.

Adding a `max-height` can cause double scroll bars (one for window, one for table). It is preferable to allow the table it's auto height.


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

Received on Wednesday, 29 April 2020 17:32:43 UTC