Resize with flexbox #2425
Unanswered
jzbuchalski
asked this question in
General
Replies: 1 comment 2 replies
-
Just now I decided to upgrade from V6 to V7. I got everything right but the resize functionality. In V6 when resizing It does not affect other columns but in V7 it does. React V6: https://giphy.com/gifs/Jpp6HWUT1GR2IJMCSv/fullscreen My Code: https://codesandbox.io/s/cool-fermi-6jtgo?file=/src/Table.js What am I missing? |
Beta Was this translation helpful? Give feedback.
2 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.
-
Flexbox experts... easy one for you I hope. In Tanner's resize example, if I resize the "Last Name" column at the end, making the column larger, it resizes the previous column "First Name" smaller. (1) What flexbox property causes the previous column to shrink? and (2) is that preventable? Thanks in advance!
https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/full-width-resizable-table
Beta Was this translation helpful? Give feedback.
All reactions