meyerovb
19 Jul 2010, 10:22 AM
Sencha Touch version tested:
0.9 rev 1
only default ext-all.css
Platform tested against:
iOS 4
Description:
On an iPhone tap events that change cards are carrying a click event over to the next card
Test Case:
Ext.setup({ onReady: function () {
var a = 'a'; for (var x = 0; x < 8; x++) a = a + ' ' + a;
window.panel = new Ext.Panel({ fullscreen: true, layout: 'card',
items: [{ xtype: 'panel',
items: [{ xtype: 'button', text: 'Passes Click Event', handler: function () { panel.setCard(1); } },
{ html: '<br/><a href="javascript:panel.setCard(1);">Not Passing Click Event</a>'}]
},
{ xtype: 'panel', html: '<a href="javascript:alert(1);">' + a + '</a>'}]
});
}
});
0.9 rev 1
only default ext-all.css
Platform tested against:
iOS 4
Description:
On an iPhone tap events that change cards are carrying a click event over to the next card
Test Case:
Ext.setup({ onReady: function () {
var a = 'a'; for (var x = 0; x < 8; x++) a = a + ' ' + a;
window.panel = new Ext.Panel({ fullscreen: true, layout: 'card',
items: [{ xtype: 'panel',
items: [{ xtype: 'button', text: 'Passes Click Event', handler: function () { panel.setCard(1); } },
{ html: '<br/><a href="javascript:panel.setCard(1);">Not Passing Click Event</a>'}]
},
{ xtype: 'panel', html: '<a href="javascript:alert(1);">' + a + '</a>'}]
});
}
});