You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my NextJS 14 app, I am trying to get a Swiper working.
My issue is that only the first slide works, the other ones are not visible. When I console.log my slide images to ensure they are loaded correctly, I can see that they are so the issue isn't there. If I put the same image for all the slides, only the first one loads still. So the issue isn't from the images I am trying to use in my swiper.
Please note that the first slide is also controllable with the mouse while the other 2 aren't. Which means they probably just aren't there, while the pagination shows my three items properly...
Here is my code:
I have tried downgrading my swiper version as I used it in a recent NextJS project in which I had no issue, but no luck either.
Here is what my current package.json looks like, in case it may help...
Check that this is really a bug
Reproduction link
https://wave-riders-ecommerce.vercel.app/
Bug description
Hi everyone,
In my NextJS 14 app, I am trying to get a Swiper working.
My issue is that only the first slide works, the other ones are not visible. When I console.log my slide images to ensure they are loaded correctly, I can see that they are so the issue isn't there. If I put the same image for all the slides, only the first one loads still. So the issue isn't from the images I am trying to use in my swiper.
You can check the issue on this page, it's the carousel swiper on this same page: https://wave-riders-ecommerce.vercel.app/
Please note that the first slide is also controllable with the mouse while the other 2 aren't. Which means they probably just aren't there, while the pagination shows my three items properly...
Here is my code:
I have tried downgrading my swiper version as I used it in a recent NextJS project in which I had no issue, but no luck either.
Here is what my current package.json looks like, in case it may help...
Expected Behavior
The swiper should display all 3 slides/Images instead of just one.
Actual Behavior
Only showing one slide
Swiper version
11.0.5
Platform/Target and Browser Versions
Chrome 124 on Windows 10
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: