【问题标题】:Sencha Touch: Windows Phone does not scroll to end of pageSencha Touch:Windows Phone 无法滚动到页面末尾
【发布时间】: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


【解决方案1】:

我在 GitHub 上为 AccordionList 创建者创建了一个问题。 在 Windows Phone 上测试他的 AccordionList 演示后,它遇到了同样的问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-08
    • 2016-01-17
    • 1970-01-01
    • 2016-03-03
    • 1970-01-01
    • 2020-12-18
    相关资源
    最近更新 更多