13 Mar 2012 4:05 AM #1
Ext.panel.Panel disappears on 'collapse' !
REQUIRED INFORMATIONExt version tested:
- Ext 4.0.7
- doesn't matter
- Panel disappears after collapse.
- Working example: http://jsfiddle.net/mastak/ArPEt/1/
After 'My Panel 2' collapsed.Panel_second.png
How it should look when fixed.Panel_third.png
Screenshot or Video:
- see above
- getBoundingClientRect() returns empty ClientRect if element not displayed ( style="display: none" ) :
- bottom: 0
- height: 0
- left: 0
- right: 0
- top: 0
- width: 0
13 Mar 2012 7:43 AM #2
13 Mar 2012 7:58 AM #3
Thx for answer..
Hard to make some reference to your example, because your one doesn't render properly:
I have provided source code and live example in my 'defect' description with possible solution to fix.. plz look if you have time..
13 Mar 2012 12:22 PM #4
may be because of jsfiddle(I already tested a few examples on it, and every time renders in its way, not how should be, there's sth wrong with it), I would recommend you verify your tests with the browser directly, and the exemple provided by me is from docs, you can test even there.
14 Mar 2012 1:04 AM #5
this screenshot made from my test ( Chrome ), not from jsfiddle. Here is source code ( Extjs v4.0.7 ):
14 Mar 2012 2:35 AM #6
could not replicate your words about my example, tested on chrome on Snow Leop. and Win7
14 Mar 2012 3:23 AM #7
I have tested on Win7.. Same if I use IE ( just verified ) .. well.. I have provided my source code ( see above, not jsfiddle version ), so you can try it.. but plz pay attention on Extjs version. I use v4.0.7.
If it could help for solving/fixing issue.. I can setup real testing example on the web.