Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

when slidesPerView is auto,use virtual errors #831

Open
qiang-niu opened this issue Dec 22, 2021 · 1 comment
Open

when slidesPerView is auto,use virtual errors #831

qiang-niu opened this issue Dec 22, 2021 · 1 comment

Comments

@qiang-niu
Copy link

swiperOptionThumbs: {
slidesPerView: 'auto',
preloadImages: false,
observer: true,
observeParents: true,
watchSlidesVisibility: true,
resizeObserver: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
virtual: {
slides: [],
renderExternal(data) {
vm.virtualList = data
console.log(vm.virtualList)
},
},
},
virtualList: {
slides: [],
offset: 0,
},

image

@shady-xia
Copy link

I have the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants