splide icon indicating copy to clipboard operation
splide copied to clipboard

Ability to modify mouse wheel scroll speed

Open tomas opened this issue 3 years ago • 1 comments

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

3.6.9

Description

I'm looking for a way to make the mousewheel scolling slower but found nothing in the documentation. Would it be possible to have an option for this?

Thank you

Reproduction Link

No response

Steps to Reproduce

  1. Initialize a new splide instance with the mousewheel scrolling option turned on
  2. Use the mousewheel either using your mouse or a laptop's touchpad and watch the slider fly at lightning speed
  3. Wish there was a way of making it go slower

Expected Behaviour

Make the slider advance slower when using the mouse wheel

tomas avatar Jun 13 '22 14:06 tomas

https://splidejs.com/guides/options/#wheel

Enables navigation by the mouse wheel. To use this option, set waitForTransition to be true and/or give wheelSleep duration, otherwise your carousel will immediately reach the end.

Webberjo avatar Jul 13 '22 17:07 Webberjo

Yes, use waitForTransition or wheelSleep.

NaotoshiFujita avatar Sep 01 '22 14:09 NaotoshiFujita