Re: [csswg-drafts] allow elements to escape the scroll container (#9107)

`box-shadow` and `absolute` positioned elements that intended to be dropdowns are the ones that get me the most. It's often the case that `overflow` is applied to an element to keep it contained in some fashion but then a nested child of that element needs to spill out.

I suppose there is a new alternative for dropdowns using the new anchor positioning properties to get that look of a dropdown appearing from an interacted element, however you'll _have_ to break the semantic structure to prevent that anchored element from inheriting the overflow issue. For a nested set of lists that makes things worse if anything.

The linked solution that @mayank99 mentioned ends up with the author writing JavaScript to ultimately solve the problem they were facing, which for a dropdown like that seems like a necessary reach

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


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

Received on Wednesday, 26 July 2023 08:39:08 UTC