PDA

View Full Version : form disabled/frozen on iPhone but not on desktop chrom and safari



profunctional
25 Jun 2010, 9:01 AM
I've added a form to a panel using the code below;

var form = new Ext.form.FormPanel(formBase);

var mainPanel = new Ext.Panel({

fullscreen: true,
layout: 'card',
ui: 'light',
animation: {
type: 'slide',
cover: true
},
defaults: {
scroll: 'vertical'
}
});

mainPanel.setCard(form);

When I test this on Safari and Chrome on my desktop, it works. However, running this on an iphone makes the form seem frozen. The textboxes, and buttons don't respond on the form.

Is this the wrong way to add a form to a panel?

xantus
25 Jun 2010, 9:47 AM
You need to have the form as an item in your panel.

items: [form]