My current project involves using React, TypeScript, StyledComponent, and MaterialUI.
I am looking to add a button to a Dialog window (material-ui) similar to the design shown in this example image.
However, when I apply position: absolute
to the button, the result is not as expected with a cropped appearance like in this result image.
I have attempted to use z-index
on the button but it did not help me achieve the desired outcome.
How can I correctly add the button in this scenario?