【发布时间】:2015-03-11 08:42:25
【问题描述】:
我有一个具有多个视图的 Sencha Touch 2.4 网站。 在 iOS 和 Android 上,所有视图都按预期滚动。但在 Windows Phone 上,它们不滚动。 当我向下滚动时,我可以看到其他内容,但是当我停止滚动时,页面会滚动回顶部。 我还可以在滚动条上看到它并不期望页面的其余部分。 在视图代码下方。
Ext.define('App.view.Welcome', {
extend : 'Ext.Container',
xtype : 'Welcome',
config : {
styleHtmlContent : true,
scrollable : true,
layout : 'vbox',
items : [ {
docked : 'top',
xtype : 'titlebar',
title : 'Title',
items : [ {
xtype : 'button',
iconCls : 'help',
align : 'right'
} ]
}, {
xtype : 'image',
baseCls : 'logo'
}, {
xtype : 'label',
html : 'Introduction text',
width : '100%'
}, {
xtype : 'element1',
width : '100%'
}, {
xtype : 'element2'
} ]
}
});
我已经尝试了几件事。也改变了css。 但是还没有找到解决滚动问题的方法。
请帮忙!
【问题讨论】:
-
Ext.ux.AccordionList 好像引入了问题。
标签: javascript extjs scroll windows-phone touch