PDA

View Full Version : [OPEN] [2.0a1] Tabbing out of Combobox in IE 6 causes first field to dissapear



fancellu
4 Oct 2007, 8:04 AM
Click in combobox field, then tab out. You should see the "Send To" field has disappeared
and fields shift up to take up space. If I click in "Subject" field then shift-tab backwards then the "Send To" field reappears.


var exampleData= [
['AL', 'Alabama'],
['AK', 'Alaska'],
['AZ', 'Arizona']
];


var store = new Ext.data.SimpleStore({
fields: ['abbr', 'state'],
data : exampleData
});


Ext.onReady(function() {


var form = new Ext.form.FormPanel({
baseCls: 'x-plain',
labelWidth: 55,
url:'save-form.php',
defaultType: 'textfield',

items: [{
fieldLabel: 'Send To',
name: 'to',
anchor:'100%' // anchor width by percentage
},{
fieldLabel: 'Subject',
name: 'subject',
anchor: '100%' // anchor width by percentage
},
new Ext.form.ComboBox({
fieldLabel: 'Portfolios',
displayField:'state',
triggerAction: 'all',
emptyText:'Select a state...',
selectOnFocus:true,
mode: 'local',
name: 'portfolios',
typeAhead: true,
store: store

})
, {
xtype: 'textarea',
hideLabel: true,
name: 'msg',
anchor: '100% -53' // anchor width by percentage and height by raw adjustment
}]
});

var window = new Ext.Window({
title: 'Resize Me',
width: 500,
height:300,
minWidth: 300,
minHeight: 200,
layout: 'fit',
maximizable:true,collapsible :true,
plain:true,
bodyStyle:'padding:5px;',
buttonAlign:'center',
items: form,

buttons: [{
text: 'Send'
},{
text: 'Cancel'
}]
});

window.show();
});

mystix
4 Oct 2007, 8:12 AM
13985

ext-base.js / other adapters?
browser
OS?

[edit]
hmmm... i'm getting a "too much recursion (ext-base.js)" error in FB on FF2.0.0.7 with your test case.
am i missing anything?

fancellu
5 Oct 2007, 5:37 AM
Nope, nothing special, it is based on the anchor.html example.

I just plopped in a combobox.

fancellu
5 Oct 2007, 5:45 AM
Just to be clear, this tab issue only happens for me in IE 6, fine in FF.

jack.slocum
5 Oct 2007, 5:54 AM
This is probably related to another trigger field issue which has been fixed in svn.

fancellu
16 Oct 2007, 12:54 AM
Still present in 2.0 beta 1

jsakalos
18 Oct 2007, 5:37 PM
Did Jack write that message before or after the release of 2.0b1?

mystix
18 Oct 2007, 7:56 PM
Did Jack write that message before or after the release of 2.0b1?

before. according to CHANGELOG.txt in the 2.0beta1a download,


//=====================================
// Ext JS Release Notes
//=====================================
// Release Date: October 11, 2007
// Current Version: 2.0-beta-1a (rev 1177)
// Previous Version: 2.0-alpha-1 (rev 1032)
//=====================================

jsakalos
19 Oct 2007, 10:16 AM
Hmmm, in that case it probably has not been fixed. We will investigate it further.