Re: [csswg-drafts] Make child visible outside of `overflow: hidden` (#4092)

I've run into a number of situations where the typical solution doesn't work, because the `overflow: hidden` container is much further up in the DOM than the element that's `position: absolute`.

Example: The table below has `overflow: auto` set on it because we want users to be able to scroll left/right on small screens, but it also has tooltips in each row, which are set to `position: absolute`. The trigger element for each tooltip is set to `position: relative` for positioning, which means we can't just move the `position: relative` up to some higher element in the DOM.

![CleanShot 2021-07-30 at 09 46 52](https://user-images.githubusercontent.com/5007574/127686191-4a93c413-b612-44d7-a4cb-9d9d686dc0bb.gif)

It would be amazing to have a css-only solution for this kind of layout.

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


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

Received on Friday, 30 July 2021 16:56:24 UTC