Skip to main content
Question

Multiple Drags to change carousel pages

  • December 15, 2022
  • 0 replies
  • 440 views

Kay8

Hello everyone, I came across an issue today.

Imagine there’s a carousel with 3 Pages(red, blue,green). Instead of clicking on the little navigation buttons at the bottom, I wish to be able to drag on the buttons themselves, going from Page 1 to Page 2 or Page 1 to Page 3.

So the action would be, I hold the mouse click on Page 1, move the mouse to Page 2 keeping the mouse pressed(this should switch carousel to Page 2), then move the mouse to Page 3(Mouse still pressed) which would switch Carousel to Page 3.

Having 2 Drag animations going from 1->2 and 1->3 doesnt work as Figma overrides them. How would I be able to solve such a problem?

I’d appreciate inputs, if someone has come across this sort of requirement 🙂
Cheers and thank you!

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings