I was able to get the tooltip to show above the other elements of the table by adding the 'withinPortal' prop to the tooltip component and setting the zIndex to be higher than the elements surrounding it. In my case I had to set it to 100.
https://v6.mantine.dev/core/tooltip/?t=props