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

> It would be nice to make this work:
> 
> ```
> <div class="table-wrapper">
>     <table>
>         <tr><th>Foo</th><th>Bar</th></tr>
>         <tr><td>sin</td><td>cos</td></tr>
>         <tr><td>tan</td><td>baz</td></tr>
>         ...
>     </table>
> </div>
> ```
> 
> ```css
> .table-wrapper {
>     overflow-x: auto;
> }
> 
> th {
>     position: sticky;
>     top: 0;
> }
> ```

Did you find any solution for this?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 16 August 2022 12:49:15 UTC