PDA

View Full Version : Button keeps mouse hover style



Anh Tai
17 Sep 2012, 12:32 AM
Dear all,

I create a button as bellow

var editButton = Ext.create('Ext.button.Button', {
tooltip: Strings.global_edit,
handler: this.onEditButtonClicked,
iconCls: 'edit-icon',
itemId: 'editButton',
scope: this
});
It works fine in Crome and Firefox but not in IE. In IE 9.0 the hover style always appears after I put mouse on button about 0.3 minutes and click on the button. I am using extjs 4.1. Can you please tell me how to resolve this issue. Thank you very much

mitchellsimoens
24 Sep 2012, 7:11 AM
I don't see why that would happen at all. We listen for the browser events to add/remove the style