Replies: 1 comment
-
Behavior currently matches Finder on Apple, including the expand and shrink past table bounds. You could theoretically implement this by measuring the elements yourself and controlling the width yourself as you noted. I've thought about allowing injection of other column sizing algorithms, but haven't had time to get into pitfalls around it or what the API could look like. It's a deceptively complex issue. Especially when applying a controlled state. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello good people!
I'm using a
Table
component together withResizableTableContainer
to make columns resizable. All works great, but I have a use-case where we'd like to "freeze" the table-width to whatever is currently set by theResizableTableContainer
. In other words prevent horizontal scrolls from appearing when expanding the columns AND prevent "empty" space when shrinking the columns too much.I was wondering if you have any advice, or maybe have encountered this issue/use-case before?
I'm thinking about controlling the
width
of the individual columns and getting their widths viaonResize
callback, but that seems to require a separate algorithm to the one already implemented.Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions