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

Over scroll when scrolling inside sections with scrollOverflow:true using trackpad #1539

Closed
janzaba opened this issue Sep 24, 2015 · 10 comments

Comments

@janzaba
Copy link

janzaba commented Sep 24, 2015

Hello!
I found an issue. You can see it on this demo page:
http://alvarotrigo.com/fullPage/examples/scrolling.html#firstPage
Bug appears if you scroll page too fast. When you scroll first section too fast, secound section shows scrolled down.

This bug appears on Firefox (mainly on mac), when i'm using touchpad. Didn't see this when i used mouse. Safari and Chrome are clean.

Btw. Great plugin :)

@alvarotrigo
Copy link
Owner

. When you scroll first section too fast, secound section shows scrolled down.

You mean, it scrolls down two sections when you just want to scroll one?

It looks like you are scrolling too hard and the kinetic scrolling inertia is firing the second scroll.

Possibly a duplicate of #310

@alvarotrigo
Copy link
Owner

It would be greate if you can provide a video where I can see the screen and your trackpad.

@janzaba
Copy link
Author

janzaba commented Sep 24, 2015

#310 is not exactly what i mean. My point is an inside scroll.. Here is my video:
https://youtu.be/OugOY80ZA7g
I'm using only short swipes and sometimes it scrolls properly, sometimes not. The difference is almost imperceptible.
I understand that there is a limit, and when scrolling is longer, the inside scroll starts. But i noticed, that inside scroll starts before scrolling animation ends. I think plugin should prevent inside scrolling until animation ends.

So it should be like this:
i scroll -> section reaches end -> changing sections -> section change animation ends -> if i still scrolling inside scroll starts.

I hope I explained well..

@alvarotrigo alvarotrigo changed the title Scrolling inside sections problem Firefox: scrolling inside sections with scrollOverflow:true Sep 25, 2015
@janzaba
Copy link
Author

janzaba commented Sep 26, 2015

I found an idea. I've looked into your code and noticed that slimscroll is activating at the page load event, am i right? Maybe better idea is to activate slimscroll on active slide, after scrolling animation? What do you think?

@alvarotrigo alvarotrigo changed the title Firefox: scrolling inside sections with scrollOverflow:true Firefox: over scroll when scrolling inside sections with scrollOverflow:true using trackpad Nov 10, 2015
@alvarotrigo alvarotrigo changed the title Firefox: over scroll when scrolling inside sections with scrollOverflow:true using trackpad Over scroll when scrolling inside sections with scrollOverflow:true using trackpad Nov 10, 2015
@alvarotrigo
Copy link
Owner

It doesn't seem to be Firefox specific but more about kinetic scrolling.

@alvarotrigo
Copy link
Owner

slimScroll uses wheelStep : 20, by default. Fullpage.js doesn't provide a way to change the options, but you can take at this pull request and apply a similar change to achieve your result.

@alvarotrigo
Copy link
Owner

Fixed in 2.8.0.

@waterstar
Copy link

Using 2.8.0. Just like to report I am seeing this problem when a anchor is clicked 2nd times (first time is ok).

@alvarotrigo
Copy link
Owner

Using 2.8.0

Only the latest version is supported. Which at the moment is 2.8.6.

@alvarotrigo
Copy link
Owner

This was solved in fullPage.js v4 🥳

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

3 participants