Seth_J
12 Dec 2011, 10:31 AM
I'm having a problem scrolling html in on of my views. When I try and scroll with my finger on a phone the html scrolls back up to the top line like it is stuck..
Any ideas?
GoR.views.HelpPanel=Ext.extend(Ext.Panel,{ title:'Help',
initComponent:function(){
var config={
iconCls: 'icnHelp',
items:[{
title: 'Help',
xtype: 'panel',
dockedItems: new Ext.Toolbar({ dock: 'top', title: 'Help' }),
items: [{
xtype: 'panel',
layout: 'fit',
scroll: 'vertical',
draggable: true,
styleHtmlContent: true,
html: 'Long HTML Instructions go here....'
}]
}]
};
Ext.apply(this, config);
GoR.views.HelpPanel.superclass.initComponent.apply(this, arguments);
}
});
Any ideas?
GoR.views.HelpPanel=Ext.extend(Ext.Panel,{ title:'Help',
initComponent:function(){
var config={
iconCls: 'icnHelp',
items:[{
title: 'Help',
xtype: 'panel',
dockedItems: new Ext.Toolbar({ dock: 'top', title: 'Help' }),
items: [{
xtype: 'panel',
layout: 'fit',
scroll: 'vertical',
draggable: true,
styleHtmlContent: true,
html: 'Long HTML Instructions go here....'
}]
}]
};
Ext.apply(this, config);
GoR.views.HelpPanel.superclass.initComponent.apply(this, arguments);
}
});