akiran / react-slick

React carousel component
http://react-slick.neostack.com/
MIT License
11.61k stars 2.09k forks source link

any idea to implement immediate stop/play ❓❓❓ #2229

Closed Yi-bee closed 1 year ago

Yi-bee commented 1 year ago

How to achieve immediate stop scrolling when the mouse is moved in, and immediate start scrolling when the mouse is moved out ?????

Here are my settings:

const settings = {
  arrows: false,
  autoplay: true,
  speed: 5000,
  autoplaySpeed: 0,
  cssEase: 'linear',
  infinite: true,
  slidesToShow: 4,
  slidesToScroll: 1,
  vertical: true,
  verticalSwiping: true,
  swipeToSlide: true,
};
pratyushbh commented 1 year ago

Unfortunately, this feature is not supported by the Jquery Slick carousel on which react slick is based upon