Creating Swipe to close function within scene


(Joe) #1

Hello,

I was wondering the best possible way to go about creating a swipe down action to reverse a specific timeline? I don’t want to swipe to control the timeline (i know how to do that), I just want to initiate the reversal of a specific timeline within a scene, like tapping an element to start timeline and play in reverse but by swiping. Any suggestions?


(Hans-Gerd Claßen) #2

a scene, layout and symbol has behaviours for swipe left, right, top, bottom …


(Joe) #3

Thanks. I’ll give it a try and let you know how it works.


(Joe) #4

Unfortunately, it didn’t work. Basically what I’m looking for help doing is closing a popup by swiping down for mobile users without affecting the scene scrolling.


(Hans-Gerd Claßen) #5

you should provide a samplefile. sounds like you#ve got to set a preventDefault() for touchevents, but i’m not shure …