PDA

View Full Version : [FIXED] Accordion layout doesn't expand/collapse when clicked on tool or title



tolgaerdogus
29 Apr 2014, 3:14 PM
https://fiddle.sencha.com/#fiddle/5fq

Click on the expand/collapse tool or the title or any of the accordion panels and hopefully either observe that the expand/collapse doesn't work or tell me what I am doing wrong.

Thanks

tolgaerdogus
29 Apr 2014, 3:15 PM
Same fiddle works with 4.2.1 Classic but not in 5.0.0.736

evant
29 Apr 2014, 3:39 PM
The test case can be broken down a lot:



Ext.require('*');

Ext.onReady(function() {

var ct = new Ext.panel.Panel({
layout: 'accordion',
width: 600,
height: 600,
renderTo: document.body
});

setTimeout(function() {
for (i = 0; i < 4; ++i) {
ct.add({
title: 'P' + i
});
}
}, 1000);

});


Thanks for posting.