I found a collapsible table code snippet on this website: https://mui.com/material-ui/react-table/#collapsible-table
However, there seems to be an issue where when I expand a row, the table "grows up" as it increases in size. This behavior is not ideal. I would prefer for the expanded row to stay in place or even grow downwards instead of upwards. Below is a simplified example showcasing this problem:
Your updated code will go here...