I'm attempting to place a CircularProgress component inside a dialog box. However, I'm facing an issue where the background of the dialog box is white and cannot be set to transparent like in previous versions of Material UI (v0.2).
style={{
width: '200px',
marginLeft: '40%',
backgroundColor: 'transparent'
}}
I really need to make the dialog background transparent. This is my current code:
<Dialog
bodyStyle={{margin: 0, padding: 0}}
open={true}
style={{
width: '200px',
marginLeft: '40%',
backgroundColor: 'transparent'
}}
overlayStyle={{backgroundColor: 'transparent'}}
>
<CircularProgress
style={{display: 'inline-block'}}
size={50}
color={"#00db49"}
/>
</Dialog>
Also, how can I remove the scrollbar in the dialog, as seen in this image? https://i.sstatic.net/2dPlW.png