-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White space appears between slides when swiping/navigating on mobile browsers #279
Comments
I noticed that and it seems to only be happening on mobile browsers. I'm not sure whats going on there. |
Probably it happens cause nodes of slides removed and pushed again |
If anyone finds the cause please reopen. |
+1 it also happen on the web. the translate property adds 0% 50% 100% and so on to every slide. removing the translate fix it for me. but its a buggy hack. wonder why the translate is pushing images down. instead of a row |
I am getting the same behavior with the thumbnails, I noticed it is something related to the transform property that allows values upper the initial one. e.g |
Did some debugging, and this looks to be an image loading issue on mobile browsers. The problem goes away when using the same images for all the slides. Will need further investigation to determine a solution... cannot reproduce using same images e.g. const images = [
{
original: "https://picsum.photos/id/1018/1000/600/",
thumbnail: "https://picsum.photos/id/1018/250/150/",
},
{
original: "https://picsum.photos/id/1018/1000/600/",
thumbnail: "https://picsum.photos/id/1018/250/150/",
},
{
original: "https://picsum.photos/id/1018/1000/600/",
thumbnail: "https://picsum.photos/id/1018/250/150/",
},
{
original: "https://picsum.photos/id/1018/1000/600/",
thumbnail: "https://picsum.photos/id/1018/250/150/",
},
]; |
On the demo page in any iPhone try to swipe or click on next arrow. Every time a next image will appear is empty for short time (~100ms).
The text was updated successfully, but these errors were encountered: