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

slow scrolling on phone #63

Closed
philipyoungg opened this issue Mar 18, 2017 · 2 comments
Closed

slow scrolling on phone #63

philipyoungg opened this issue Mar 18, 2017 · 2 comments

Comments

@philipyoungg
Copy link

Device: iPhone 5s

scrolling is very slow—to the point it feels unresponsive.
tried to change ease to 1. Now the momentum is gone. :(

@philipyoungg
Copy link
Author

After reading the code, I guess the problem is on virtual-scroll.
Space & shift + space scroll also doesn't work. Again, on virtual-scroll.

OP, you can close this issue. :)

@baptistebriel
Copy link
Owner

Hey @philipyoungg,
What you're looking for is indeed the touchMultiplier option from virtual-scroll.

const smooth = new Smooth({
  section: section,
  ease: 0.1
  vs: {
    touchMultiplier: 2
  }
})

It defaults is to 1.5 which should be all fine already...
Let me know if that's not what you're looking for.

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

No branches or pull requests

2 participants