React-id-swiper: Autoplay doesn't works

Created on 16 Sep 2020  路  6Comments  路  Source: kidjp85/react-id-swiper

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

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

Most helpful comment

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])

All 6 comments

I'm also facing similar kind of problem

Downgrading swiper to the version below helped me out!

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

Downgrading made my slide content to disappear for no reason

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])

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!

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cweise picture cweise  路  6Comments

Alexandrdrdr picture Alexandrdrdr  路  3Comments

nerdyman picture nerdyman  路  3Comments

thientran1707 picture thientran1707  路  3Comments

mbenjrinija picture mbenjrinija  路  4Comments