View Full Version : 4.0.2 - form.field.Text - grow:true doesn't shrink correctly in WebKit

21 Jun 2011, 9:48 AM
Taken from the Ext.form.field.Text Doc example:

Ext.create('Ext.form.Panel', {
title: 'Contact Info',
width: 300,
bodyPadding: 10,
renderTo: Ext.getBody(),
items: [{
xtype: 'textfield',
name: 'name',
fieldLabel: 'Name',
allowBlank: false, // requires a non-empty value
grow: true
}, {
xtype: 'textfield',
name: 'email',
fieldLabel: 'Email Address',
vtype: 'email' // requires value to be a valid email address format

Only thing added is grow:true on the name field

If you then type some text in the field and delete some of it again with backspace, you get this in Chrome and Safari:


It works fine in Firefox.