We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d27d3 commit 1423e5cCopy full SHA for 1423e5c
frontend/src/pages/HomePage/components/Carousel/carousel.tsx
@@ -37,7 +37,9 @@ export class Carousel extends React.Component {
37
38
public autoPlayCarousel = (carousels: M.Carousel[]) => {
39
carousels.forEach((carousel) => {
40
- carousel.next();
+ if (!carousel.pressed) {
41
+ carousel.next();
42
+ }
43
});
44
this.timer = window.setTimeout(() => this.autoPlayCarousel(carousels), CAROUSEL_AUTOPLAY_INTERVAL);
45
}
0 commit comments