반응형
Extjs 4.x , 3.x Chrome 43.0.2357.65 submenu hide bug
메뉴 기능의 SubMenu 가 계속 꺼지는 현상
아래 오버라이드로 해결
// fix hide submenu (in chrome 43)
Ext.override(Ext.menu.Menu, {
onMouseLeave: function(e) {
var me = this;
// BEGIN FIX
var visibleSubmenu = false;
me.items.each(function(item) {
if(item.menu && item.menu.isVisible()) {
visibleSubmenu = true;
}
})
if(visibleSubmenu) {
//console.log('apply fix hide submenu');
return;
}
// END FIX
me.deactivateActiveItem();
if (me.disabled) {
return;
}
me.fireEvent('mouseleave', me, e);
}
});
반응형
'프로그래밍 > Extjs' 카테고리의 다른 글
| Extjs 4.1 - Label setText Html and reflash style (0) | 2013.11.12 |
|---|---|
| Extjs 4 - Grid datecolumn edit timefield (0) | 2013.11.05 |
| [Extjs 4.1] Combobox DisplayField 값이 동일할때 ..... (0) | 2012.11.24 |