akiran / akiran/react-slick

Forcing slide animation when scrolling up and down on mobile

未关闭
#2,368 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
11.9k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

描述

var settings = {
accessibility: false,
dots: false,
arrows: false,
infinite: true,
slidesToShow: 3,
slidesToScroll: 1,
autoplay: true,
pauseOnHover: false,
pauseOnFocus: false,
swipe: false,
speed: 5000,
draggable: false,
autoplaySpeed: 0,
cssEase: "linear",
initialSlide: 2,
touchMove: false,
responsive: responsiveSettings,
};

These are the settings i am using for the carousel, what happens is when i scroll up and down, the slide is forcibly animated, i have been going at this for over 2 days now, and came to no solution.

Any body had any luck with this?

https://github.com/akiran/react-slick/assets/37823349/124123fe-4318-4d80-bc73-9ba5debec1a8

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。