React-bootstrap Carousel infinte loop?

413 Views Asked by At

I use the react-bootstrap carousel in my project.

The last image slides back to the first one from left to right.

The expected action would be that it resumes the sliding from right to left.

There is no explicit "infinite loop" option.

Does anybody encounter this problem and how to solve it?

1

There are 1 best solutions below

0
On

In index.js, my App component was wrapped in the <React.StrictMode>. When I removed it, the carousel works like it should!