-
Hi, I created a concept where an image and it's title caption exist in their own , but are linked by a controller-control attribute. Reason is because I want to position the next button vertically centered to the image and doing that with js is just such a pain. So, I got my linked sliders working nicely on mouse drag or on gesture drag on a phone, but the next or back button always makes it skip a slide, no matter what I change to slidesPerView. I have three slides in my current setup, which are looped. I hope anyone is able to help me with the issue. It did not exist when I was not using a single , rather than two linked. My work in progress:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I can mark this as solved: navigation event listener was added twice to the buttons, because both shared the samse swiperParams. I split the parameters by declaring two different variables titleSwiperParams and imageSwiperParams. Left out navigation from one of them and voila. |
Beta Was this translation helpful? Give feedback.
I can mark this as solved: navigation event listener was added twice to the buttons, because both shared the samse swiperParams. I split the parameters by declaring two different variables titleSwiperParams and imageSwiperParams. Left out navigation from one of them and voila.