Skip to content
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

Backdrop background not global overrides #20957

Closed
zavx0z opened this issue May 9, 2020 · 1 comment · Fixed by #24857
Closed

Backdrop background not global overrides #20957

zavx0z opened this issue May 9, 2020 · 1 comment · Fixed by #24857
Labels
component: modal This is the name of the generic UI component, not the React module!

Comments

@zavx0z
Copy link

zavx0z commented May 9, 2020

"@material-ui/core": "^4.9.13"
Not change

export default createMuiTheme({
    overrides: {
        MuiBackdrop:{
            root: {
                backgroundColor: 'rgba(255, 0, 0, 0.75)',
            }
        }
})

Change
<Modal BackdropProps={{style: {backgroundColor: 'rgba(255, 0, 0, 0.75)'}}}>

@oliviertassinari oliviertassinari added the component: modal This is the name of the generic UI component, not the React module! label May 9, 2020
@oliviertassinari
Copy link
Member

@zavx0z The issue is highly related to #16442, it's the same underlying tradeoff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: modal This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants