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

Is it possible to use pullRefresh feature only? #162

Open
ElVisPL opened this issue Oct 7, 2019 · 1 comment
Open

Is it possible to use pullRefresh feature only? #162

ElVisPL opened this issue Oct 7, 2019 · 1 comment

Comments

@ElVisPL
Copy link

ElVisPL commented Oct 7, 2019

I would like to use pullRefresh feature only, without custom scroll bars and any other scroll related features.

Is this possible to achieve?

This is my configuration. It is very close but I am unable to scroll down the page when preventDefaultOnMove is true. When it is false I can scroll down but browser pull to refresh is triggered together with vuescroll event

ops: {
        mode: "slide",
        vuescroll: {
          mode: "slide",
          pullRefresh: {
            enable: true
          },
          scroller: {
             preventDefaultOnMove: true
          }
        },
        bar: {
          disable: true
        }
      }
@wangyi7099
Copy link
Member

I will add it to next major release.

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