简体   繁体   English

Sencha Touch:Windows Phone不会滚动到页面末尾

[英]Sencha Touch: Windows Phone does not scroll to end of page

I have a Sencha Touch 2.4 website with multiple views. 我有一个具有多个视图的Sencha Touch 2.4网站。 All views scroll as expected on iOS and Android. 所有视图在iOS和Android上均按预期滚动。 But on Windows Phone they do not scroll. 但是在Windows Phone上,它们不会滚动。 When I scroll down I can see the other content, but when I stop scrolling the page scrolls back to the top. 当我向下滚动时,我可以看到其他内容,但是当我停止滚动时,页面将滚动回到顶部。 I can also see at the scrollbar it doesn't expect the rest of the page. 我还可以在滚动条上看到它不需要页面的其余部分。 Underneath the code of a 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'
    } ]
  }
});

I have tried several things. 我已经尝试了几件事。 Also changes on the css. 还改变了CSS。 But cannot find a solution for the scroll problem yet. 但是还没有找到解决滚动问题的方法。

Please, Help! 请帮忙!

I've created an issue for the AccordionList creator at GitHub. 我在GitHub上为AccordionList创建者创建了一个问题。 After testing his AccordionList demo on a Windows Phone it had the same issue. 在Windows Phone上测试了他的AccordionList演示之后,它出现了同样的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM