Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-25340
in
6.5.2.
-
Sencha Premium Member
grow in textarea is not working when height is a number
Ext version tested:
Browser versions tested against:
- Chrome 58.0.3029.110 (64-bit)
- IE11
- FF53.0.2
Description:
- I have a textarea with grow is true. The height config is a number.
I expect the textarea to grow, but it does not.
When I change the height config to a string, the textarea grows with the content.
In the fiddle I have created two fields with the grow config true. Only the height as string grows.
https://fiddle.sencha.com/#view/editor&fiddle/207k
-
Thanks for the report! I have opened a bug in our bug tracker.
-
Sencha - Support Team
Hi,
When working with TextAreas configured with grow: true. Please use the growMin/growMax configs instead of height.
Code:
Ext.create('Ext.form.FormPanel', {
title: 'Sample TextArea',
width: 400,
bodyPadding: 10,
renderTo: Ext.getBody(),
items: [{
xtype: 'textareafield',
grow: true,
growMin: 100,
growMax: 200
}]
});
Guilherme Lopes
Sencha Support
-
Sencha Premium Member

Originally Posted by
Gary Schlosberg
Thanks for the report! I have opened a bug in our bug tracker.
The bug should be fixed in 6.5.2, but it is not. When I test this in the fiddle with a nightly, it is also not fixed.