weex icon indicating copy to clipboard operation
weex copied to clipboard

Android H5容器打开含List + bottom-bar的页面,bottom-bar会往上滚动

Open LeeJay0226 opened this issue 10 years ago • 2 comments

在H5渲染打开一张weex页面,改页面上面是List,底部是一固定的bar, 触摸底部bar往上滑会把bar往上带的问题,在Native渲染和IOS H5渲染中没有这个问题。手机型号LGE Nexus5 5.1.1 demo代码:

  <div style="position: absolute; top: 0; left: 0; right: 0; bottom: 0;">
    <list style="position: absolute; top: 0; left: 0; right: 0; bottom: 88;">
      <cell repeat="{{rows}}">
        <text style="font-size: 36;width: 750; height: 80;line-height: 80; color: #333333;">row {{id}}</text>
      </cell>
    </list>
    <div style=" position: absolute;bottom: 0;left: 0;right: 0;height: 88;background-color: #eeeeee;"></div>
  </div>
</template>

<script>
  module.exports = {
    data: {
      rows:[]
    },
    created: function() {
      for(var i = 1; i<= 30; i++) {
        this.rows.push({id: i});
      }
    }
  }
</script>

LeeJay0226 avatar Jul 07 '16 05:07 LeeJay0226

请不要贴不合适的链接,直接贴代码吧

luics avatar Jul 07 '16 06:07 luics

这个 issue 长时间没有讨论,我这里先关掉了,如果有更多的信息补充需要继续讨论,可以随时reopen 谢谢

Jinjiang avatar Aug 30 '16 06:08 Jinjiang