Swiper.js shows 1px of the upcoming / next slide

There is a GitHub issue for this problem, but there is no working solution and the issue is locked.
The issue does mention setting Swipers‘ roundLengths to true, but this didn’t work for me.

My workaround (for a single slide slideshow):


 .swiper-slide-next {
   translate: 1px 0;
 }

It reliably fixes the problem without affecting the slideshow on devices that don’t have this issue.

Github issue: https://github.com/nolimits4web/swiper/issues/2722

    Schreibe einen Kommentar

    Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert


    Der Zeitraum für die reCAPTCHA-Überprüfung ist abgelaufen. Bitte laden Sie die Seite neu.