Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

223
Views
Targeting the color of modal backdrop over layer v4 mui?

I am trying to change the backdrop color of a mui v4 modal, and I am getting a gray layer on top of backdrop instead sure, it's default behavior but how to remove the shaded div , there is a div if I delete it will give me the clean color but don't know how to target I doubt its paper, any idea how to get rid of this shade or target that color value instated of targeting the backdrop ??

const useStyles = makeStyles((theme) => ({
  backDrop: {
    backgroundColor: 'red',
  },
  
  
  <Modal
      className={classes.backDrop}
      open={context.modal.bool}
      aria-labelledby='modal-modal-title'
      aria-describedby='modal-modal-description'
   >
      {modalsBody}
   </Modal>
enter image description here

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

So looking at the documentation for the modal we can see that there is a BackdropProps property. This property uses a style object for its value.

<Modal BackdropProps={{style: {backgroundColor: 'white'}}} />
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!