1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    43
    Answers
    4
    Vote Rating
    1
    camdagr8 is on a distinguished road

      0  

    Default Unanswered: TextField keyup iOS 7

    Unanswered: TextField keyup iOS 7


    I'm using sencha 2.3 and developing an iOS 7 app. The keyup event isn't returning any keycodes. I'm using the following listener:

    Code:
    textfield: {
        keyup: function (f, e) {
            console.log(e.event.keyCode);
            if (e.event.keyCode == 13) {
                this.validate();
            }
        },
    },
    Has anyone else had this issue?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,692
    Answers
    311
    Vote Rating
    117
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    Sounds like the following issue. I would suggest using the workaround a try and use the keypress event at try.
    http://stackoverflow.com/questions/1...tooth-keyboard

    keypress event is currently not supported in Touch. So you will have to add a listener to the fields dom element. I have opened the following feature request (TOUCH-5478): http://www.sencha.com/forum/showthread.php?284694
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Thread Participants: 1

Tags for this Thread