PDA

View Full Version : [1.1] Noticeable tap delay



jay@moduscreate.com
25 Apr 2011, 12:41 PM
Seems like tapping to focus on a text field is really slow. There must be something with the tap event that is causing this, and I have little time to investigate at the moment. Trying to wrap up CH4 of Sencha Touch in Action.

Tested on iOS simulator, and iPad.


Demo: http://tdg-i.com/tmp/IMG_0620.m4v

using code:


Ext.setup({
onReady: function() {
var toolbar = {
xtype : 'toolbar',
dock : 'top',
title : 'User admin',
items : [
{
xtype : 'spacer'
},
{
xtype : 'textfield',
width : 200,
listeners : {
action : function(txtFld, evtObj) {
alert(evtObj.type)
}

}
},
{
xtype : 'button',
iconCls : 'search',
ui : 'plain',
iconMask : true
}
]
};

new Ext.Panel({
fullscreen : true,
style : 'background-color: #CCF;',
items : [ { xtype :'textfield', label : 'TF 1'},{ xtype :'textfield', label : 'TF 2'}],
dockedItems : [
toolbar
]
});

}
});

mitchellsimoens
25 Apr 2011, 2:18 PM
Link to movie is bad. Got a count for how many milliseconds it takes? :D

jay@moduscreate.com
25 Apr 2011, 2:21 PM
Thanks dude. Fixed the issue on the server, the link is now valid.

jay@moduscreate.com
25 Apr 2011, 2:22 PM
Might the following bug http://www.sencha.com/forum/showthread.php?131239-1.1-Segmented-buttons-are-incredibly-slow. be somehow related?