PDA

View Full Version : Ext.util.KeyMap not working on IE9



nocturn
28 Mar 2014, 2:44 AM
Hi
In my application I am using Ext.util.KeyMap to handle keybinding for Component.

var me = this;
me.keyMap = new Ext.util.KeyMap({
target: me.getEl(),
ignoreInputFields: true,
binding: [
{
key: [Ext.EventObject.Z],
fn: me.undo,
ctrl: true,
scope: me
},
{
key: [Ext.EventObject.Y],
fn: me.redo,
ctrl: true,
scope: me
}
]
});

undo: function () {
//some code
},


redo: function () {
//some code
},

This code works fine in every browser except for IE9. It seems that every keybinding with ctrl property set to true is not working on IE9. Is there any hack or workaround to fix it ?

Gary Schlosberg
31 Mar 2014, 5:51 AM
Hmm, kind of sounds like a bug. Do you have a test case which reproduces it?
https://fiddle.sencha.com/#home