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

116
Vistas
Layout Shift in my Carousel while page is loading

Good night everyone..

I'm in trouble trying to solve a issue for somedays..

I have a flickity carousel with the following structure:

<div class="container">
    <div class="carousel">
        <div class="item">
        </div>
    </div>
</div>

The problem is that my carousel is getting big layout shift when page is loading, as you can see on the image: enter image description here

This is because i have not a fixed height for the carousel div.

I know i can set the carousel height and adding overflow: hidden, this fix the problem, however, i need the height to be adaptive and not a fixed height because my layout is responsive, so the height of the cells change...

The weird thing is that flickity carousel already have overflow hidden, that works on the page loads full, but while its loading, the bug happens..

Could someone help me please? thanks!

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