I have a situation where a swiper is in a modal, and the modal update based on the selection in the swiper.
Now, It is easy to reset the selection when the modal refresh using the activeSlideKey but I do not find any easy way to scroll to the activeSlideKey when the swiper is redrawn. There should be a way to scrollTo or load with scroll when assigning an activeSlideKey
I tried to save the scroll, then use set scroll once the component is rerender. it workish, but something inside the lib would be much easier.
I have a situation where a swiper is in a modal, and the modal update based on the selection in the swiper.
Now, It is easy to reset the selection when the modal refresh using the
activeSlideKey
but I do not find any easy way to scroll to theactiveSlideKey
when the swiper is redrawn. There should be a way to scrollTo or load with scroll when assigning anactiveSlideKey
I tried to save the scroll, then use set scroll once the component is rerender. it workish, but something inside the lib would be much easier.