fix: Исправлена анимация карусели событий, смена событий триггерит анимацию. Исправлено расположение кнопок навигации
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
.prevButtonWrapper {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: -25px;
|
||||
left: -60px;
|
||||
z-index: 10;
|
||||
|
||||
transform: translateY(-50%);
|
||||
@@ -18,7 +18,7 @@
|
||||
.nextButtonWrapper {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: -25px;
|
||||
right: -60px;
|
||||
z-index: 10;
|
||||
|
||||
transform: translateY(-50%) rotate(180deg);
|
||||
|
||||
@@ -89,7 +89,7 @@ export const EventsCarousel = memo(
|
||||
}, containerRef)
|
||||
|
||||
return () => ctx.revert()
|
||||
}, [visible])
|
||||
}, [visible, events])
|
||||
|
||||
/**
|
||||
* Обработчик инициализации Swiper
|
||||
|
||||
Reference in New Issue
Block a user