PDA

View Full Version : Scrolling does not work



Robert.Fischbacher
9 Nov 2010, 11:52 AM
Can anybody explain, why the scrolling of my page does not work with Google Chrome and Iphone? :-?

I'm able to scroll down, but then it always scrolls back to the top? :-/

Greetings from Bavaria
Robby:)

Steffen Hiller
9 Nov 2010, 7:41 PM
You have to set layouts in your components, use dockedItems and it's preferable to use the Panel class (which is a subclass of the Container class):

Such as:


var myToolbar = new Ext.Toolbar({
dock: 'top',
items: [
{
ui: 'back',
text: 'Back',
handler: hideDetail
}
]
});

var formDetail = new Ext.Panel({
id: 'tabDetail',
layout: 'fit',
dockedItems: myToolbar
items: otherDetail
});


Greetings to Bayern :)

Robert.Fischbacher
9 Nov 2010, 10:24 PM
Thank you, it works for me now :D