Swiper Element in Next.js: lazy attribute does not work with loop #7514
Unanswered
AbdelrahmanAhmed605
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I add
lazy={true}
on swiper-slide, I keep getting a loading indicator on my images when I loop back (When I swipe from the last slide back to slide 1). Is it enough to just have theloading="lazy"
on the image? or do I need it on swiper-slide as well?This is my code:
Beta Was this translation helpful? Give feedback.
All reactions