1. #1
    Ext JS Premium Member
    Join Date
    Mar 2010
    Posts
    71
    Answers
    2
    Vote Rating
    2
    softwarezman is on a distinguished road

      0  

    Default Unanswered: KeyMap doesn't like body in Firefox?

    Unanswered: KeyMap doesn't like body in Firefox?


    I have a full-page application that I'm working on and I wanted to add a couple keyboard shortcuts to navigate pages back and forth. I added a KeyMap to the body and it works great in IE and Chrome, working anywhere you click and executing my functions. But in Firefox I have to literally CLICK on a toolbar header that I implemented to get it to recognize my keyboard shortcuts. If I click anywhere else and lose focus, Firefox doesn't recognize my shortcut. Has anybody else ran into this issue?

    Here is my KeyMap. Nothing special.
    Code:
    var body = Ext.getBody();
    var temp = new Ext.util.KeyMap(body, [{
      key: Ext.EventObject.NUM_PLUS,
      shift: true,
      handler: function() {
       scheduler.shiftNext();
      }
    }]

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,081
    Answers
    675
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    What version of ExtJS are you using? Have you tried 4.1GA?
    http://www.sencha.com/blog/ext-js-4-1-final-released/

    Regards,
    Scott.

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2010
    Posts
    71
    Answers
    2
    Vote Rating
    2
    softwarezman is on a distinguished road

      0  

    Default


    Have not, didn't know it was out yet. I will try it ASAP. Thanks

Thread Participants: 1

Tags for this Thread