-
Check that this is really a bug
Reproduction linkhttps://codesandbox.io/s/gifted-paper-uy25g?file=/src/App.js Bug descriptioni have tried to manually couple the swiper element with its slides, trying to work around i am having some difficulties on how to set it up correctly. <div className="swiper customSwiper"> ... i dont get to slide at all if i use the swiper element how could i work around this so i can prevent the initial issue (update exceeds error) and interact with the swiper element Expected Behaviorto interact with a custom initialized swiper element programatically Actual Behaviorvisually works. programatically does not Swiper version7.3.4 Platform/Target and Browser Versionsany browser/platform, tested in safari and firefox Validations
Would you like to open a PR for this bug?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
i have noticed there is a similar issue |
Beta Was this translation helpful? Give feedback.
-
@nolimits4web i have managed to work around it but the swiper component does not allow a ref as an attribute. |
Beta Was this translation helpful? Give feedback.
-
i have worked around it by using const Rwiper: React.FunctionComponent<SwiperProps & RefAttributes<any>> = Swiper
<Rwiper ref={...}>
...
</Rwiper> |
Beta Was this translation helpful? Give feedback.
i have worked around it by using