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

138
Vistas
How long will it take for content to present in a browser?

I was developing a dropdown and used some code below to find the height the dropdown should be, since it wasn't fixed.

div.style.display = "block";
let height = div.offsetHeight;
div.style.display = "none";

On my screen, I don't see the div blink from a display block to a display none, which is intended, but why? Is it because the frames of the browser is limited and the transition from 'block' to 'none' is too fast? Should I be worried the frames on another device will be too slow and will present the div for a frame or two (say the computer was slow and took more time to retrieve offsetHeight)?

about 4 years ago · Juan Pablo Isaza
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