PDA

View Full Version : Checkboxes not too responsive



rtweed
10 Aug 2010, 2:38 AM
Not sure if this is a known bug or whether there's some parameter to fix it, but when I use the standard checkbox SenchaTouch form field (xtype=checkbox), I'm finding that its sensitivity to being touched in the iPad is somewhat variable - it can take several touches to make it visibly check itself.

The strange thing is that the (on)change event handler/listener fires every time you touch a checkbox, even if the checkbox doesn't visibly check itself.

Any ideas?

Rob

evant
10 Aug 2010, 2:46 AM
It just uses a native checkbox element:



Ext.setup({
onReady: function(){
new Ext.form.Checkbox().show();
Ext.getBody().createChild({
tag: 'input',
type: 'checkbox'
});
}
});

rtweed
11 Aug 2010, 7:57 AM
Sounds like a bug in the iPad checkbox unless I'm upsetting something in my event handler - I'll dig deeper.