Skip to content
This repository has been archived by the owner. It is now read-only.

Scrolling on mobile #85

Open
MSkred opened this issue Aug 2, 2019 · 5 comments
Open

Scrolling on mobile #85

MSkred opened this issue Aug 2, 2019 · 5 comments

Comments

@MSkred
Copy link

MSkred commented Aug 2, 2019

Scrolling work fine on my navigartor but when I'm on my mobile and use touch when I scroll I'va a rollback... someone have this issue ?

@acrylglasSi
Copy link

yes having the same problem. any updates?

@MSkred
Copy link
Author

MSkred commented Aug 21, 2019

I use an another package

@tsyrya
Copy link

tsyrya commented Aug 23, 2019

same for me. Is there any solution?

@iec989
Copy link

iec989 commented Oct 3, 2020

@MSkred - which package did you end up using?

@iec989
Copy link

iec989 commented Oct 3, 2020

In my case I basically added the attribute: :is-top-bounce="on_top"

<pull-to :top-load-method="refresh" :top-config="pull_to_config" :is-bottom-bounce="false" :is-top-bounce="on_top">

and then

 data: () => ({
      on_top: true,
      ...
mounted(){
      let vm = this;
      window.addEventListener("scroll", ()=>{vm.on_top=window.pageYOffset === 0});
      ...

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

No branches or pull requests

4 participants