Currently, I am working with React and Material-UI to create a table that needs to have a sticky header for a multi-row table head. The challenge I'm facing is that I don't want to specify a fixed height for the table, but instead have all lines in the header stick to the top of the page as users scroll.
In my sandbox example, the issue arises when I scroll down - only the last row of the table head sticks to the top while the "Value" and "Another Value" rows do not. What I actually need is for all rows in the table head to stay fixed at the top regardless of how many there are or their variable heights.
If you'd like to take a look at the specific problem, you can view it here: https://codesandbox.io/s/condescending-roman-hqkpj