Event questions
- LarssaAndin
- Posts: 18
- Joined: Fri Mar 01, 2013 12:28 pm
Event questions
I'm testing the touch events and have some questions:
- I found out that a single tap event is triggered when I release the tap after a longpress/holdtap has triggered, I guess this is a bug? This always happen on ipad and some times in Chrome.
- If it isn't a bug, can I some how avoid the cellsingletap event?
- Is there actually any difference between celllongpress and cellholdtap?
- It's very difficult to trigger a cellswipe, in what scenario is this event relevant?
Re: Event questions
Hm.. If its a bug then probably in ST itself, since events are just translated directly from DOM elements. Can you test it on the empty page with ST and listening the on the <body>?
Not sure about the difference between the longpress and holdtap - sounds similar, try asking at SenchaTouch forum?
About the swipe - is it hard to trigger on native devices too?
Not sure about the difference between the longpress and holdtap - sounds similar, try asking at SenchaTouch forum?
About the swipe - is it hard to trigger on native devices too?
- LarssaAndin
- Posts: 18
- Joined: Fri Mar 01, 2013 12:28 pm
Re: Event questions
Ok, I'll ask on senchas forum about those
Triggering swipe requires me to swipe very quick so the grid scrolling fails to follow, then that event hits.
Not sure I'm going to need it, but if it's not consistent in behavior you might not want it published.
I'll try and setup a testcase to see if I can create a repeatable case for singletap.

Triggering swipe requires me to swipe very quick so the grid scrolling fails to follow, then that event hits.
Not sure I'm going to need it, but if it's not consistent in behavior you might not want it published.
I'll try and setup a testcase to see if I can create a repeatable case for singletap.
Re: Event questions
Swipe could still be useful for a grid that doesn't use horizontal scrolling (all columns use 'flex'). You could configure the scroller to ignore horizontal scrolls and then swipe becomes useful.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog
@bryntum
Facebook
API documentation
@bryntum
API documentation
- LarssaAndin
- Posts: 18
- Joined: Fri Mar 01, 2013 12:28 pm
Re: Event questions
Of course, thinking too much about my own scenariomats wrote:Swipe could still be useful for a grid that doesn't use horizontal scrolling (all columns use 'flex'). You could configure the scroller to ignore horizontal scrolls and then swipe becomes useful.
