Skip to content

Is it possible to get activeSlide styling immediately on scroll in Wheel Gesture Plugin? #505

Closed Answered by davidjerleke
sushantgwr87 asked this question in Help
Discussion options

You must be logged in to vote

Hi @sushantgwr87,

Yes. Use the select and pointerUp event instead of scroll. Example here. I also added skipSnaps: true to the carousel options because with that small slide heights it feels weird when it's enforcing scrolling a single slide when the wheel is rolled vigorously.

Best,
David

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sushantgwr87
Comment options

Answer selected by sushantgwr87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants