-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dialog] Background color issue #5278
Comments
The issue is the Dialog.js:
We definitely don't want to add another field on the API to customize the weird thing between "body" and "content". Perhaps TransitionItem could itself be a Paper? |
A quick solution would be to set the background of this One issue is that if you then add a borderRadius to contentStyle, it wouldn't be applied to the Paper. So we'd have to also set the Paper's borderRadius to style.content.borderRadius if it is provided. But, really, we'd probably want to keep Paper's background for theme support? |
Hello, are there updates about this issue? |
I'm having a similar issue trying to remove the box-shadow on the dialog. Unfortunately because it uses |
hello, if I don't need background when using dialog, how can I do that? |
My problem was i need to customize the paper in my dialog. I have solved it by using paperProps in the <Dialog
PaperProps={{
style: {
backgroundColor: "transparent",
boxShadow: "none"
},
}}
onClose={accessModal}
open={modal}
/> |
Thanks for sharing @oliviertassinari & @gaiousantonio0909 |
Problem description
I am trying to override the background styles of a dialog. I want to have a dialog with a translucent background. The issue is that there is the element that is using a background color of white in-between the contentStyle and the title/body styles.
Steps to reproduce
Versions
The text was updated successfully, but these errors were encountered: