react-id-swiper icon indicating copy to clipboard operation
react-id-swiper copied to clipboard

Autoplay doesn't works

Open arnaudjnn opened this issue 4 years ago • 6 comments

I have the following setup and the autoplay doesn't works

https://codesandbox.io/s/reactidswiper-demo-forked-se14h

arnaudjnn avatar Sep 16 '20 15:09 arnaudjnn

I'm also facing similar kind of problem

tbharathchandra avatar Nov 13 '20 16:11 tbharathchandra

Downgrading swiper to the version below helped me out!

"react-id-swiper": "^4.0.0" "swiper": "^5.3.8

tijsluitse avatar Nov 13 '20 19:11 tijsluitse

Downgrading made my slide content to disappear for no reason

tbharathchandra avatar Nov 13 '20 19:11 tbharathchandra

Guys, I found a solution, in the new version, you need set up which components you will use:

import SwiperCore, { Lazy, Navigation, Autoplay } from 'swiper'
SwiperCore.use([Lazy, Navigation, Autoplay])

thiagosf avatar Feb 12 '21 18:02 thiagosf

Guys, I found a solution, in the new version, you need set up which components you will use:

import SwiperCore, { Lazy, Navigation, Autoplay } from 'swiper'
SwiperCore.use([Lazy, Navigation, Autoplay])

Thanks!

ghousahmed avatar Feb 13 '21 13:02 ghousahmed

Guys, I found a solution, in the new version, you need set up which components you will use:

import SwiperCore, { Lazy, Navigation, Autoplay } from 'swiper'
SwiperCore.use([Lazy, Navigation, Autoplay])

it's work

zhxhdean avatar Feb 24 '21 03:02 zhxhdean