1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Hong Kong
    Posts
    44
    Answers
    6
    Vote Rating
    0
    Winnie Lam is on a distinguished road

      0  

    Default Unanswered: double tap on a button will crash the app

    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.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Answers
    3452
    Vote Rating
    817
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    double tap by itself won't crash it.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Answers
    3
    Vote Rating
    0
    kalor is on a distinguished road

      0  

    Default


    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:
    http://www.sencha.com/forum/showthread.php?189254-Is-there-a-method-to-disable-doubletap

    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).

Thread Participants: 2