mardi 30 décembre 2014

5.1.0 trouble with menus disappearing

Is it appropriate for me to put a nightly build into production?

I tested this on Fiddle just now, against the 5.1.0.107 Crisp, and it also fails. Click the first menu item to demonstrate menu disappearing:


Here is the repro.


Ext.create('Ext.panel.Panel', {

width: 500,

height: 300,

title: 'Border Layout',

layout: 'border',

items: [{

title: 'Center Region',

region: 'center', // center region is required, no width/height specified

xtype: 'panel',

layout: 'fit',

margins: '5 5 0 0'

}, { xtype: 'panel',

region: 'west',

split: true,

width: 122,

bodyBorder: false,

collapseDirection: 'left',

collapsible: true,

title: 'Menu',

items: [

{

xtype: 'menu',

floating: false,

items: [

{

xtype: 'menuitem',

text: 'Order Inbox',

handler: function() {Ext.Msg.alert("Hello");}

},

]

}

]

}],

renderTo: Ext.getBody()

});






5.1.0 trouble with menus disappearing

Aucun commentaire:

Enregistrer un commentaire