tremorlabs / tremor

React components to build charts and dashboards
https://tremor.so
Apache License 2.0
15.53k stars 450 forks source link

[Feature]: Allow tablecells to hold datepicker/select dropdown items without hiding #1034

Closed Yuheng7 closed 2 weeks ago

Yuheng7 commented 3 weeks ago

What problem does this feature solve?

Right now, when any dropdown item is placed inside of a tablecell, it hides the dropdown unless you scroll down on the inner table itself. This only happens for the bottom few rows as they have dropdowns which naturally overflow past the bottom of the table.

(Please let me know if this is fixable with other workarounds right now!)

What does the proposed API look like?

No response

severinlandolt commented 2 weeks ago

Hi @Yuheng7! We add "overflow-auto" to the <Table> component. If you want to make it visible, add <Table className="overflow-visible" /> Let me know if that helped :)

CleanShot 2024-05-13 at 17 10 24@2x

Yuheng7 commented 2 weeks ago

className="overflow-visible" worked perfectly. Thank you so much!