javascript - Sencha 触摸 : Windows Phone does not scroll to end of page

标签 javascript extjs scroll windows-phone touch

我有一个具有多个 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/

相关文章:

javascript - 将自定义 View 添加到子网格时出错 "Add existing button"

javascript - 如何使用 Gatsby 映射两次?

javascript - 在android中集成javascript

ios - IOS 中的滚动屏幕

android - 如何使用链接制作可滚动的文本?

javascript - Kendo UI 验证 - 禁用/启用

javascript - ExtJS ToolBar 单选组手动更改菜单项

extjs - 如何在 ExtJS 3.x 中构建可拖动字段集

jquery - 如何在按钮单击时刷新 extjs 窗口 (Ext.Window)

javascript - 向上和向下箭头导航在 iframe 内被阻止