How can one use touch events?

Get help with testing, discuss unit testing strategies etc.
User avatar
Enzoo
Posts: 6
Joined: Wed Sep 18, 2019 8:23 am

Re: How can one use touch events?

Post by Enzoo » Thu Sep 19, 2019 9:13 am

klodoma wrote:
Thu Sep 19, 2019 8:49 am
nickolay wrote:
Tue Sep 10, 2019 2:09 pm
Try adding `t.simulator.forceTouchEvents = false` at the top of the test file?
I'm replying late. Yes, this seems to solve the problem at least for the provided example.
I'll try to add it to the other cases and I'll provide feedback.
This does not help in my case, it still does the same thing and bugs out in siesta code.

User avatar
nickolay
Core Developer
Core Developer
Posts: 3357
Joined: Mon May 16, 2011 10:48 am

Re: How can one use touch events?

Post by nickolay » Thu Sep 19, 2019 10:04 am

@Enzoo - I've just tried with Sencha Touch 2.3 and it seems to work fine. What is your Sencha Touch version? Please start a new thread for your reply.
We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
klodoma
Posts: 44
Joined: Thu Oct 01, 2015 11:55 am

Re: How can one use touch events?

Post by klodoma » Thu Sep 19, 2019 5:24 pm

A longpress fires childlongpress which is correct.
But it fires also a childtap, not sure, is this normal?
Attachments
Screenshot_462.png
Screenshot_462.png (172.33 KiB) Viewed 51 times

User avatar
nickolay
Core Developer
Core Developer
Posts: 3357
Joined: Mon May 16, 2011 10:48 am

Re: How can one use touch events?

Post by nickolay » Thu Sep 19, 2019 5:25 pm

Yes, this is correct. In the same way `click` fires `mousedown` and `mouseup`
We offer training in both Ext JS and our products, read more here.
Read the API documentation

Post Reply