PDA

View Full Version : [FIXED] Accordion: Error when dynamically adding new panels



jbraband
20 May 2014, 10:12 AM
Ext version tested:

Ext 5.0.0.736
Browser versions tested against:

Chrome 34.0.1847.131 m
DOCTYPE tested against:

Strict
Description:

Once a panel with the accordion layout is rendered, adding a new child panel results in a broken interface. The original child panels are still functional, however, the new panel is non-functional.
Using the fiddle linked below, you can change the ExtJS version to any of the 4.x options, run the fiddle, and the added third panel works.
Steps to reproduce the problem:

Load this Sencha Fiddle: https://fiddle.sencha.com/#fiddle/60a
Run the fiddle
Click on the button at the bottom of the ExtJS window labeled "Add a third panel!"
The result that was expected:

A third panel being added to the accordion layout as if it was there from the beginning
The result that occurs instead:

The third panel is shown in the layout, however, it receives different styling and is non-functional (unable to expand)

evant
20 May 2014, 3:45 PM
Thanks for the post, it's a dupe of http://www.sencha.com/forum/showthread.php?284893