-
10 May 2013 5:42 PM #1
2.2.0 Infinite List Freezing
2.2.0 Infinite List Freezing
REQUIRED INFORMATION
Ext version tested:- Touch 2.2.0
- Safari (iOS 6.1.3) iPad
- Safari (iOS 6.1.3) iPad Simulator
- Mac Chrome
- Mac Safari
- html
- The list will freeze and all app functionality will stop working after swiping the list rapidly and going beyond its visible bounds. E.g. continuing swiping into a docked toolbar or navigation bar, then swiping back into the list area. This can be reproduced consistently.
- Swipe rapidly either upwards or downwards and continuing swiping into a docked toolbar or navigation bar, then swiping back into the list area rapidly, back and forth.
- It is easier to reproduce when there is a large number of list items, i.e. > 50, but can be reproduced with fewer items
- It is easier to reproduce if there are multiple toolbars, i.e. a navigation toolbar and a panel containing a docked toolbar and an infinite list, but can be reproduced when the list is fullscreen.
- Can reproduce on device (iPad) and in simulator. See attached video.
- Can't reproduce in desktop Safari or Chrome
- standard list swiping/scrolling behaviour
- list freezes and all UI elements become unresponsive (e.g. buttons)
Code:<!DOCTYPE html> <html> <head> <title>how2trak Mobile</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="format-detection" content="telephone=no"> <meta charset="utf-8"/> <link rel="stylesheet" type="text/css" href="http://localhost/lib/touch2/sencha-touch.css"/> <script type="text/javascript" src="http://localhost/lib/touch2/sencha-touch-all-debug.js"></script> <script type="text/javascript" src="http://localhost/test-infinite-list.js"></script> </head> <body> </body> </html>HELPFUL INFORMATIONCode:Ext.setup({ onReady: function() { Ext.define('Contact', { extend: 'Ext.data.Model', config: { fields: ['id', 'firstName', 'lastName'] } }); var generateData = function() { var data = []; for (var i = 0; i < 300; i++) { data.push({ id: i, firstName: 'First' + i, lastName: 'Last' + i }); } return data; } var store = Ext.create('Ext.data.Store', { model: 'Contact', data: generateData() }); Ext.Viewport.add({ xtype: 'navigationview', items: [ { xtype: 'panel', title: 'People', height: '100%', width: '100%', items: [ { xtype: 'toolbar', docked: 'top', width: '100%', ui: 'light', layout: { type: 'hbox', pack: 'center' }, items: [ { xtype: 'spacer' }, { xtype: 'searchfield', itemId: 'textFieldSearch', labelWidth: 200, labelAlign: 'left', width: 400 }, { xtype: 'spacer' }, { xtype: 'button', iconCls: 'add', handler: function(btn){ Ext.Msg.alert('button tapped'); } } ] }, { xtype: 'list', itemTpl: '<div class="contact">{firstName} <strong>{lastName}</strong></div>', store: store, height: '100%', infinite: true, itemHeight: 60 } ] } ] }); } });
Screenshot or Video:Debugging already done:- none
- not provided
- only default sencha-touch.css
- iOS 6.1
-
10 May 2013 5:57 PM #2
Alternate file url:
http://www.filedropper.com/infinitelistbug
Please increase attachment limit. < 1MB is a bit extreme
-
10 May 2013 8:32 PM #3
We have the same problem. From profiling the application, it looks like it has something to do to the animation queue - I saw animation frame fired event continuously without stopping for a long while.
-
14 May 2013 1:08 PM #4
Bump. Acknowledgement or a request for more information would be appreciated.
-
16 May 2013 10:02 AM #5
-
Yesterday 9:51 AM #6
-
Yesterday 12:14 PM #7
list freezing
list freezing
same here
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote