Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

300
Views
Swiperjs coverflow weird display issue (sometimes)

First, i am using Swiper, effect "coverflow" and this is my config:

const testSwiper = new Swiper('.test-swiper', {
    effect: "coverflow",
    grabCursor: true,
    centeredSlides: true,
    spaceBetween: 30,
    centeredSlides: true,
    slidesPerView: "auto",
    coverflowEffect: {
      rotate: 50,
      stretch: 0,
      depth: 100,
      modifier: 1,
      slideShadows: true,
    },
    direction: 'horizontal',
    loop: true,
    lazy: true,
    mousewheel: false,
    freeMode: false,
    keyboard: {
      enabled: false,
    },
    // Pagination
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
      dynamicBullets: true,
    },
    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    },
    scrollbar: {
      el: '.swiper-scrollbar',
      hide: true,
    },
  });

The issue is that sometimes when you load the page you will see something like this.

The only way that you can make this odd layout disappear is to resize the screen and you will see this.

And I really have no clue on why and I have no idea how to debug on this issue, so I am hoping someone out there can give me some advice on how to debug or maybe any idea on this issue.

Thanks in advance.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!