我有一个具有多个 View 的 Sencha Touch 2.4 网站。 所有 View 在 iOS 和 Android 上按预期滚动。但在 Windows Phone 上它们不会滚动。 当我向下滚动时,我可以看到其他内容,但是当我停止滚动时,页面会滚动回顶部。 我还可以在滚动条上看到它不期望页面的其余部分。 在 View 代码下面。
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 也发生了变化。 但目前还找不到滚动问题的解决方案。
请帮忙!
最佳答案
我在 GitHub 上为 AccordionList 创建者创建了一个问题。 在 Windows Phone 上测试他的 AccordionList 演示后,它也遇到了同样的问题。
关于javascript - Sencha 触摸 : Windows Phone does not scroll to end of page,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28981898/