Creating a virtualized table of dynamic container size
I am trying to use tanstack Table in conjunction with tanstack Virtual to make a table that can contain both a lot of elements and also support infinite scroll. For the most part, functionally, it seems to be working great. But for the life of me I cannot figure out how to make the container dynamic to the viewport. I have two elements in a psuedo-fullscreen page where the table should grow to fill all remaining space. However all the examples in the docs combining these two libraries use fixed container height, and explicitly state that they have to. Other than that the docs seem a bit sparse for me to figure out how best to implement this.