In certain layouts when resizing columns it seems that the table content becoming scrollable horizontally is using the viewport size in its calculations.
Browser:
This is not an issue in the Grid component, rather in the specific layout. Using overflow to resolve this is okay. An alternative way of resolving the problem is to set min-width: 0 on the w-100 container -- here is an article that explains this in more detail.
The behavior is observed after resizing because the grid columns get assigned a width, so that they are not auto-sized. The same problem can also be observed if the gird is replaced with an arbitrary scroll container with enough content to cause a scroll. See this Stackblitz example.
Most helpful comment
This is not an issue in the Grid component, rather in the specific layout. Using
overflowto resolve this is okay. An alternative way of resolving the problem is to setmin-width: 0on the w-100 container -- here is an article that explains this in more detail.The behavior is observed after resizing because the grid columns get assigned a
width, so that they are not auto-sized. The same problem can also be observed if the gird is replaced with an arbitrary scroll container with enough content to cause a scroll. See this Stackblitz example.