Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

How to cancel touchend when touchmove is fired or when I have moved the screen

$
0
0

Hi All.

 

I'm building a  cocktail recipes app and was using click as the event trigger but the response time is very slow when i test it on my phone,  so I want to try touchend as the trigger but if I touch the screen to scroll, when i let go the event where I touched the screen gets fired. How do I disable touchend when I have moved or scrolled the screen with my finger.

 

I've attached a pciture so you'll see hpw it's supposed to work. the "button" will be both the image and text.

 

 

Many thanks

Screen Shot 2015-07-17 at 2.19.27 PM.png


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>