carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.72k stars 1.79k forks source link

[Feature Request]: Remove `overflow-y: hidden` from `StructuredList` styles #10794

Closed metonym closed 2 years ago

metonym commented 2 years ago

Summary

.bx--structured-list sets overflow-y: hidden which hides vertically overflowing content.

This impacts carbon-components-svelte, where tooltips are implemented using relative positioning. This causes tooltip menus in the bottom row to be clipped (see https://github.com/carbon-design-system/carbon-components-svelte/issues/1106).

Is there a specific reason for this CSS rule? Can it be safely removed?

Justification

No response

Desired UX and success metrics

No response

Required functionality

No response

Specific timeline issues / requests

No response

Available extra resources

No response

Code of Conduct

joshblack commented 2 years ago

Hey @metonym! 👋 This is a great point. When looking at the styles, @tay1orjones pointed out that this is one of the older styles in the library and probably is something that could be removed as a result.

metonym commented 2 years ago

@joshblack Awesome – thank you!