Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

226
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda