Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scroller在bounce为false情况下不能pulldown #1058

Closed
leegoway opened this issue Mar 8, 2017 · 1 comment
Closed

scroller在bounce为false情况下不能pulldown #1058

leegoway opened this issue Mar 8, 2017 · 1 comment

Comments

@leegoway
Copy link

leegoway commented Mar 8, 2017

Version

2.1.0

Android or iOS

ios on chrone

For Android issues, please specify the brand, model and browser

Your Codes

     <scroller v-model="pullstatus" :bounce="bounce" use-pulldown  use-pullup @on-pulldown-loading="pulldown" @on-pullup-loading="pullup">
        <div>
          <swipeout>
            <swipeout-item ref="swipeoutItem" :right-menu-width="210" :sensitivity="15" v-for="user in users">
              <div slot="right-menu">
                <swipeout-button @click.native="onUserDetail(user.username)" type="primary" :width="70">详情</swipeout-button>
                <swipeout-button @click.native="onUserDelete(user.username)" type="warn" :width="70">删除</swipeout-button>
              </div>
              <div slot="content">
                <cell ></cell>
              </div>
            </swipeout-item>
          </swipeout>
        </div>
      </scroller>

Expected behavior and actual behavior.

scroller没达到自己的预期。当bounce为false,pullup和pulldown都启用的情况下,pullup可以正常使用,但pulldown一点反应都没有。

@airyland
Copy link
Owner

airyland commented Mar 8, 2017

scroller 依赖于 xscroll 存在一些缺陷,作者不再维护,VUX 也不会再做迭代,可能会使用另外的方案,也不建议在里面嵌套手势操作组件。所以你还是要配合 bounce=true 使用。另外即使 bounce = false 可以使用,不也很生硬。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants