PDA

View Full Version : [FIXED][3.0svn4610] Disappearing Panel in AccordionLayout



flylaputa
30 Jun 2009, 8:11 AM
Ext version tested:
ExtJS3.0 RC2 SVN 4610

Browser versions tested against:
IE7
Works in FF 3

Operating System:
Windows XP

Description:
In the test case, there are three panels A, B and C in an accordion layout. Upon clicking B, Panel C disappears.

Test Case:



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../ext-3.0-rc2/resources/css/ext-all.css">
<script type="text/javascript" src="../../../ext-3.0-rc2/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../../../ext-3.0-rc2/ext-all-debug.js"></script>
<title id="page-title">Title</title>
<script type="text/javascript">
Ext.BLANK_IMAGE_URL = '../../../ext-3.0-rc2/resources/images/default/s.gif';
Ext.onReady(function() {
Ext.QuickTips.init();

var aPanel = new Ext.Panel({
title: 'A',
html: 'a'
});
var bPanel = new Ext.Panel({
title: 'B',
html: 'b'
});
var cPanel = new Ext.Panel({
title: 'C',
html: 'c'
});
var accPanel = new Ext.Panel({
layout: 'accordion',
items: [
aPanel,
bPanel,
cPanel
]
});
var mainPortal = new Ext.Viewport({
title: 'Main Portal',
layout: 'fit',
items: [accPanel]
});
});
</script>
</head>
<body>
</body>
</html>



See this URL :

Steps to reproduce the problem:
Click on Panel B

The result that was expected:
Panel B expands with Panel C still visible

The result that occurs instead:
Panel C is not visible

Screenshot or Video:


Debugging already done:


Possible fix:

tryanDLS
30 Jun 2009, 8:26 AM
Confirmed - also see this in IE6. Safari 3.2 is ok.

evant
30 Jun 2009, 9:03 AM
Try the SVN version.

tryanDLS
30 Jun 2009, 9:19 AM
Fixed in 4614.

flylaputa
30 Jun 2009, 9:22 AM
working now, thanks :)