.swiper-wrapper {
/* transition:all 0.5s; */
transition:none;
padding-bottom: 100px;
}
.submenu {
position: absolute;
top: 100%;
height:100px;
width: 100%;
background: orange;
}
<div class="dots" data-slider-dots></div>
pagination: {
el: '[data-slider-dots]',
type: "bullets",
clickable: true,
bulletClass: "dot",
bulletActiveClass: "dot_active",
renderBullet: function (index, className) {
return '<div class="' + className + '"></div>';
},
},
let swiper = new Swiper(".swiper__info", {
loop: true,
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
pagination: {
clickable: true,
el: ".swiper-pagination",
},
allowTouchMove: false,
breakpoints: {
// when window width is >= 1024
1024: {
allowTouchMove: true,
},
},
});
var swiper = new Swiper('#slider', {
direction: 'horizontal',
loop: false,
init: false,
mousewheel: true,
freeMode: true
});
swiper.on('init resize', function() {
asideListItems[currentActive].classList.add(activeItemClass);
});
// init Swiper
swiper.init();