Describe the bug
There is no way to customize the position attribute on the viewport div.
To Reproduce
Steps to reproduce the behavior:
Place VirtuosoTable in a flex parent. I'm using MUI. You have to set an explicit height for it to show, since the table container uses position:relative.
Now, if you want to place an item that is the same height as the table, you can't, because position: relative takes it out of the document flow.
Expected behavior
I can set position: static on the table container, and if I would be able to set position: static instead of position: absolute on the viewport (which I tried in devtools), I can fix the issue. However, there is no way customize the CSS on the viewport div.
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
Additional context
I am trying to add a "Add column" div which is the same height as my table and is right-aligned and sticky to the right. This seems impossible with the library as it is.
Describe the bug There is no way to customize the position attribute on the viewport div.
To Reproduce Steps to reproduce the behavior:
Expected behavior I can set position: static on the table container, and if I would be able to set position: static instead of position: absolute on the viewport (which I tried in devtools), I can fix the issue. However, there is no way customize the CSS on the viewport div.
Desktop (please complete the following information):
Additional context I am trying to add a "Add column" div which is the same height as my table and is right-aligned and sticky to the right. This seems impossible with the library as it is.