Below is a Material UI Table with columns set to a fixed size of 205px each, and the table itself set to 100% width. However, when there isn't enough space available, the columns do not shrink according to the text inside them, remaining stuck at 205px width.
https://i.sstatic.net/v0yW0.png
Even after removing all paddings, the issue persists. The text inside each cell is in an input field, and even reducing the input field width and cell size doesn't fully resolve the problem. Adjusting the table or container width also doesn't help in resizing the columns accordingly.
https://i.sstatic.net/zkOfq.png
The structure of my table closely resembles the one in this example: https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/material-UI-enhanced-table
If you notice that the columns in this example are also unnecessarily large, I am curious about what might be causing this issue. Why are the columns fixed to a specific size, even when they should adjust based on their contents?