-
8 Jan 2013 8:53 AM #1
[Serious] Settings itemHeight to 0 in list causing Tab to hang and leak memory
[Serious] Settings itemHeight to 0 in list causing Tab to hang and leak memory
For Sencha 2.1.
Settings itemHeight to 0 in list causing Browser / Tab to hang and memory of the that Browser/ Tab growing steady and fast.
Simple example:
After executing this piece of code you will get unresponsive Browser or Tab.Code:/*global Ext:false */ Ext.application({ launch:function () { Ext.create('Ext.List', { fullscreen:true, itemTpl:'{title}', itemHeight:0, data:[ { title:'Item 1' }, { title:'Item 2' }, { title:'Item 3' }, { title:'Item 4' } ] }); } // launch }); // application()
Tested on Chrome under Windows 7. Memory will keep growing fast as long as hanging process running.
Expected behavior: Tab should not hang, List should contain all items with height 0.
-
8 Jan 2013 9:07 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
I'm not quite sure why you would do that but indeed it should technically work.
Thanks for the report! I have opened a bug in our bug tracker.
-
8 Jan 2013 9:16 AM #3
You found a bug! We've classified it as
TOUCH-3891
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote
but impact is severe so I thought it needed attention.