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

@er-parag91 It looks like your code is an example of the "solution" I mentioned above:

> The only "solution" that does not involve JavaScript is **forcing the table to a given height**, which is a really ugly and counter-user-friendly solution with its 2 scrollbars, one for the page and one for the table (especially when the table is the central UI element in the page).

You're forcing the table to `50vh` height. If you have a scrollable page, you end up with 2 scrollbars: one for the page, and one for the table. Ugly if you ask me!

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

Received on Sunday, 16 February 2020 21:33:47 UTC