我有一个有多个视图的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。 但是还找不到滚动问题的解决方案。
请帮助!
答案 0 :(得分:1)
我在GitHub为AccordionList创建者创建了一个问题。 在Windows Phone上测试他的AccordionList演示后,它遇到了同样的问题。