PDA

View Full Version : Panel collapse/expand freez after several clicks/doubleclicks



zoggo
12 Dec 2012, 6:11 AM
I have a panel with a collapse button. When I fire serveral rapid clicks on the collapse button the panel will freeze in the close state with a small line of content beneath the header. This can happen when the user uses doubleclicks on the button. The button icons shows "expanded". As I can see in the panel properties the height is set to 29px instead of 300px. So the panel never will expand fully again. Does someone know this issue and can give me a solution?

mitchellsimoens
14 Dec 2012, 6:12 AM
What Ext JS 4.x.x version are you using? I tried with 4.1.1 and 4.1.3 and it works as I'd expect. Maybe a test case?

zoggo
14 Dec 2012, 7:37 AM
I'm using 4.0.7.

zoggo
4 Jan 2013, 6:00 AM
I found a solution by myself. I had to stop the anmiation with stopAnimation in beforeCollapse-Eventhandler.