IsDuplicate is supported or not? #7564
Unanswered
Mikhailosev
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using [email protected] with react, and in the type definitions of SwiperSlide wrapper component it seems like the interface does not support this:
interface SlideData { isActive: boolean; isVisible: boolean; isPrev: boolean; isNext: boolean; }
But it is not stated in the docs
https://swiperjs.com/react#swiperslide-render-function
This is a bad example, but:
Example:
https://codesandbox.io/p/sandbox/swiper-is-duplicate-s4d5tp?file=%2Fsrc%2FApp.tsx%3A16%2C20
logging isDuplicate - end up in being undefined.
I didnt see this in the changelogs and documentation still says that it should work with loop mode enabled
Beta Was this translation helpful? Give feedback.
All reactions