5 Mar 2012 6:33 PM #1
Unanswered: double tap on a button will crash the app
I know there is no double tap event on Ext.Button but when I tried to double tap on it, the layout crashed and have to refresh the page to return to normal.
How can I prevent this ? I want only the tap event to be triggered but I can't control if the user accidentally double tap it.
6 Mar 2012 6:24 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
double tap by itself won't crash it.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
7 Jun 2012 5:23 PM #3
Mitchell, the question he'd like answered is " I want only the tap event to be triggered but I can't control if the user accidentally double tap it."
Winnie, Mitchell suggests a few (ST2) solutions here you could try, but none of them work for me:
I'm currently trying to lock down a new record Save button to stop the user inadvertently adding multiple records, but I can't do it. I've managed to prevent successive taps, but a doubletap still gets through (ie if the user taps the button 5 times, 2 records are added).