If I specify the maxWidth of the last column of a TableView, then the table does not fill its container.
If I specify the maxWidth of any other column except the last one, then the table expands correctly.
See codesandbox snippet: https://codesandbox.io/s/unruffled-keldysh-d28rz?file=/src/App.js
See image:
๐ค Expected Behavior
If the maxWidth of the last column is set, then the remaining columns should expand such that the table fills its container properly.
๐ฏ Current Behavior
If the maxWidth of the last column of a TableView is specified, then the table does not fill its container.
๐ Possible Solution
Needs some fixes in layout calculation.
๐ฆ Context
I am making a table that needs to have smaller columns on the right side. This bug makes my table look ugly.
๐ Bug Report
If I specify the maxWidth of the last column of a TableView, then the table does not fill its container. If I specify the maxWidth of any other column except the last one, then the table expands correctly. See codesandbox snippet: https://codesandbox.io/s/unruffled-keldysh-d28rz?file=/src/App.js See image:
๐ค Expected Behavior
If the maxWidth of the last column is set, then the remaining columns should expand such that the table fills its container properly.
๐ฏ Current Behavior
If the maxWidth of the last column of a TableView is specified, then the table does not fill its container.
๐ Possible Solution
Needs some fixes in layout calculation.
๐ฆ Context
I am making a table that needs to have smaller columns on the right side. This bug makes my table look ugly.
๐ป Code Sample
https://codesandbox.io/s/unruffled-keldysh-d28rz?file=/src/App.js
๐ Your Environment
๐งข Your Company/Team
Adobe Acrobat