PDA

View Full Version : [FIXED-487] 0.98 Checkbox inside Container toggles check *twice* on tap/click



Animal
30 Oct 2010, 6:41 AM
It first fires the correct check event, and then immediately fires the opposite event leaving the application in the wrong state.

Drop this unchanged into the touch examples directory and run with Chrome or Safari:



<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../resources/css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="../ext-touch.js"></script>
<script type="text/javascript">
Ext.setup({
onReady: function() {
new Ext.form.FormPanel({
fullscreen: true,
items: {
xtype: 'fieldset',
items: {
xtype: 'checkbox',
name: 'test-checkbox',
listeners: {
check: function(cb, checked) {
console.log(cb.name + " checked = " + checked);
}
}
}
}
});
}
});
</script>
</head>
<body></body>
</html>

BrendanC
1 Nov 2010, 10:19 AM
Thanks for the bug report.

Jacky Nguyen
11 Nov 2010, 4:50 PM
I've had this fully resolved, will be available in 1.0