I have a Sencha Touch app that is comprised of a tab bar layout with multiple pages, one of the pages is a list view and one is a "detail view" which is basically a panel.
The panel won't scroll after I run "sencha app build". The resulting build package works fine apart from the fact the panel no longer scrolls.
I using Sencha Touch 2.4.1 and Sencha Cmd v5.1.1.39 on OS X Yosemite.
The demo of the app is here: http://simbro5-80.terminal.com
The source code is here: http://github.com/simbro/Geograph
Here are some snippets:
Main View (extends Ext.tab.Panel) :
{
title: 'News',
layout: 'fit',
iconCls: 'news',
items: [
{
xtype: 'itemsListView'
}
]
},
{
title: 'Item Details',
layout: 'fit',
hidden: true,
items: [
{
xtype: 'itemDetailView'
}
]
},
Item Detail View:
Ext.define('Geograph.view.ItemDetailView', {
extend: 'Ext.Panel',
xtype: 'itemDetailView',
id: 'itemDetailPage',
config: {
title: 'Item Detail',
scrollable: {
direction: 'vertical'
},
styleHtmlContent: true,
title: 'Details',
layout: 'fit',
tpl: [
'<h2>{title}</h2>',
'<div><b>{creator}</b></div>',
'<div><span class="itemDetailDate">{date:date("l, jS F Y")}</span></div>',
'<div><br />{description}</div>'
],
data: null,
items: [{
docked: 'top',
xtype: 'titlebar',
title: 'Item Details',
items: [{
ui: 'back',
text: 'Back',
id: 'newsBackBtn'
}]
}]
}
});