Describe the bug
Setting width: 'fit-content' causes the virtualized list to have no width at all. I want to have a list where the width is based on the width of the largest visible item which is what fit-content should do. I'm not really sure this is that valid of a use case, but I don't think there should be no width at all when this is used.
Describe the bug Setting
width: 'fit-content'
causes the virtualized list to have no width at all. I want to have a list where the width is based on the width of the largest visible item which is whatfit-content
should do. I'm not really sure this is that valid of a use case, but I don't think there should be no width at all when this is used.Reproduction
CodeSandbox
To Reproduce Steps to reproduce the behavior:
Expected behavior
I expected the width to be the largest item that is currently visible. In my linked example I have this set to a fixed width for every item.
Screenshots
Screenshots
Desktop (please complete the following information):