Open GeorgeFlorian opened 3 years ago
Same here. Any workaround / fix or idea? I have no clue where to start. No Console errors 🤔
A workaround after I found our it works in Dev mode correct after hot reload when I changed any kind of paramter. It triggers a rendering on mounted:
<VueSlickCarousel
ref="testimonials_menu"
:arrows="false"
:asNavFor="$refs.testslides"
:slidesToShow="show">
//...
export default {
//....
data: () => ({
show: 1
}),
mounted() {
this.show = 4
}
}
A workaround fix, that does work, of creating 2 data elements to feed to the asNavFor props on both carousels was posted on this closed issue: https://github.com/gs-shop/vue-slick-carousel/issues/141 One thing to note though (that I ran into) is if you're using the v-bind approach for the carousel settings, setting .asNavFor in that settings object doesn't appear to work. I had to just leave .asNavFor out of my settings object and add the asNavFor prop following that separate prop technique outlined in that fix.
Hi, this solution work for me.
https://github.com/staskjs/vue-slick/issues/68#issuecomment-661284731
I have the following two carousels:
with these settings:
The second carousel DOES NOT MOVE when I move the first.
I've even tried the most basic example with the settings from the example and it still doesn't work:
I think it's a bug.