Jump to content
GreenSock

JustinLBannister

Multi-Finger Swipe on Draggable

Go to solution Solved by GreenSock,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Just wanted to know if there was a way to implement two finger or three finger swipe with a draggable element. I haven't come across this in any of the documentation or forums just yet.

 

Thanks.

Link to comment
Share on other sites

  • Solution

The short answer is "no", but could you help us understand your goal a bit more? You want to three-finger swipe on a Draggable and make it...what? Drag? Usually devices have very specific behaviors associated with various multi-touches. Currently, Draggable tries to get out of the way of that when it senses a multi-touch on the same element. 

Link to comment
Share on other sites

Yeah I've looked at hammer. Yeah Jack. That's what I've been trying to explain.

Link to comment
Share on other sites

Just in case, yes, I think we'll add support for sensing 4-toe swipes, knuckle-drags, chin swipes, and forehead bumps. Please thank your client for the foresight. ;)

 

Sorry, I couldn't resist. Too funny. 

 

Yeah, my suggestion would be to tell your client that'd conflict with native behaviors (unrelated to Draggable) and cause UX problems. 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×