react-multi-carousel icon indicating copy to clipboard operation
react-multi-carousel copied to clipboard

Feature Request: carousel swipe with touchpad gestures

Open onair-lena opened this issue 4 years ago • 11 comments

First of all thank you for this carousel project!

It would be nice to have the ability to swipe carousel with touchpad gestures. I mean when place two fingers on the touchpad and slide horizontally the carousel swipes like it would to on tablet or on phone.

Thank you.

onair-lena avatar Aug 13 '20 17:08 onair-lena

Hey We are looking for this feature too!! Our clients can not use the swipe function of their mousepad on mac os and windows machines.

sanderkooger avatar Aug 13 '20 17:08 sanderkooger

i need this feature too. anyone has solution.

namnguyen211 avatar Sep 27 '20 06:09 namnguyen211

I am also looking for a solution to this. Anyone has solution? Please tell me its urgent.

JomolJohn avatar Dec 16 '20 05:12 JomolJohn

Me too, I think it is the expected behaviour from laptop users

Daavidaviid avatar Mar 08 '21 13:03 Daavidaviid

I was just diggin into this, If the slider starts to support horizontal scroll ( from mouse) the it should solve the problem

Im looking for a way to hook it into swipe gestures

sanderkooger avatar Apr 13 '21 16:04 sanderkooger

I have been digging deeper. It would be possible to add a listener for scrolls, but it would come with a bug in the current version.

If more than one slider exist on a page, and keyboard navigation is used it triggers all sliders on the page. This would happen with scroll too if its just added. So in order to make scroll work the row needs to become active on hover || selected, and then the listener of that row should start listening to left right key movements and scroll events.

sanderkooger avatar Apr 13 '21 20:04 sanderkooger

I havent found a way to make this work. any help would be welcome

sanderkooger avatar Jun 13 '21 22:06 sanderkooger

@YIZHUANG Is it possible to make the sliders listen to scroll events when onhover?

Reason im asking is we are using your module here: https://thisisfashion.tv and our user would really like this functionality, If needed @onair-lena is willing to write it and PR but we need some direction.

sanderkooger avatar Jul 20 '21 11:07 sanderkooger

@groomain I have seen you are a contributor too. Would you be willing to give us some guidance on how to add this functionality, also i see you live in Paris, So do i at the moment.... Wine in the 9th arr?

sanderkooger avatar Jul 31 '21 22:07 sanderkooger

Has there bin a solution found yet?

zumpious1 avatar Oct 11 '22 14:10 zumpious1