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

128
Vistas
How do I turn off wobbling for sweetalert2?

As soon as a sweetalert2 pops up, the 'X' inside the circle starts wobbling and then stops, which can get annoying. What property do I apply to the JavaScript to turn that off? Why I asked this question again: I asked this question before, but it closed automatically because it said it needed "debugging details", and I don't know what that means. Maybe it might work this time. Resources: https://cdn.jsdelivr.net/npm/sweetalert2@11

Swal.fire({
  icon: 'error',
  title: 'Oops...',
  text: 'Something went wrong!',
})
body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif; 
}
<!-- HTML is already in Developer Tools so there is no need for it, and this project can work without it.-->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You could add a custom class to the icon to remove all animations. Define the class somewhere that's loaded on the page:

.no-animate {
  animation: none;
}

then reference it

Swal.fire({
  icon: 'error',
  title: 'Oops...',
  text: 'Something went wrong!',
  customClass: {
    icon: 'no-animate'
  }
})
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