-
2 Dec 2012 10:35 PM #1
"Auto" attribute value in style is ignored
"Auto" attribute value in style is ignored
REQUIRED INFORMATION
Ext version tested:- Sencha Touch 2.1.0
- If I set width, height or other dimension attribute with "auto" value
using appropriate property, sehcna code ignores it
- Set width to "auto" value in config of any Ext.Component
Code:Ext.define('Ext.Component') ........................................... applyWidth: function(width) { return this.filterLengthValue(width); }, ........................................... filterLengthValue: function(value) { if (value === 'auto' || (!value && value !== 0)) { return null; } return value; }
-
3 Dec 2012 7:20 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
Thanks for the report! I have opened a bug in our bug tracker.
You found a bug! We've classified it as
TOUCH-3787
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote