PDA

View Full Version : [DUP] treepanel animation issue



rzanni
21 Aug 2015, 6:50 PM
Hi,

I have a view which contains a panel (accordion layout) and inside this panel there are 3 treepanels with a few children items each to form a left side menu.

The problem is only items from panels 2 and 3 shown an animation effect when collapsed or expanded BUT the first (on top) treepanel items just collapse or expand without animation.

This was working fine in extjs 4.2 but after upgrading to extjs 5 this didn't work as expected. Now after upgrading to extjs 6 the problem remains the same.

These are the properties set for every treepanel:

scrollable: 'vertical',
border: 0,
animate: true,
rootVisible: false,
useArrows: true,

and these are the properties set for the accordion container:

layout: {
type: 'accordion',
animate:true
},
collapsible: false,
hideCollapseTool: true,
header: false,
headerPosition: 'bottom',

Thanks
Raul

joel.watson
30 Aug 2015, 3:27 AM
Hi--

Can you share a test case that demonstrates the issue? https://fiddle.sencha.com

I'll be happy to test this along with you.

Thanks!
Joel

rzanni
31 Aug 2015, 5:57 PM
Hi Joel,

Here is the the link for the Fiddle showing that animation does not work in first TreePanel (Arbol1)

https://fiddle.sencha.com/#fiddle/t4e

Thanks
Raul

joel.watson
1 Sep 2015, 5:02 AM
Hi Joel,

Here is the the link for the Fiddle showing that animation does not work in first TreePanel (Arbol1)

https://fiddle.sencha.com/#fiddle/t4e

Thanks
Raul

Thanks for the test case! This appears to be a known issue (EXTJS-15314). You might check the linked thread and see if the override provided there resolves the issue for you until this is resolved.

Thanks!
Joel

rzanni
1 Sep 2015, 3:28 PM
Thanks for the test case! This appears to be a known issue (EXTJS-15314). You might check the linked thread and see if the override provided there resolves the issue for you until this is resolved.

Thanks!
Joel

Joel

The workaround is working fine, but I hope this issue is fixed soon

Thanks
Raul