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

264
Vistas
React MUI Switch Styling Randomly Changes?

Trying to incorporate a switch component from MUI into my code and for some reason, upon initial page load the switch looks like how it should, identical to the one on the MUI site. On reload however, it changes and looks like this:

Slider Styling

How do I get it to not change into that? This is what my code looks like in that section:

<div
  style={{
    zIndex: 1,
    position: "absolute",
    margin: "25px 0 0 0",
    float: "left",
    left: "22px"
  }}>
  <label>Show Voided Orders:</label>
  <Switch  
  defaultChecked={false} 
  />
  </div>
about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

You can try these methods in the document (https://mui.com/material-ui/customization/how-to-customize/).

example:
https://mui.com/material-ui/react-switch/#customization

CSS class name for reference: https://mui.com/material-ui/api/switch/#css

about 4 years ago · Santiago Gelvez 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