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

Fix for older mouse scrollwheels #117

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix for older mouse scrollwheels #117

wants to merge 2 commits into from

Conversation

ryanturnerwebdev
Copy link

Changed delta operator to ‘less than or equal to’ for scrollwheels that
don’t change delta on small scrolls

Changed delta operator to ‘less than or equal to’ for scrollwheels that
don’t change delta on small scrolls
@alvarotrigo
Copy link
Owner

An else should be enough.
But in any case, have you checked this solves your problem?

@alvarotrigo
Copy link
Owner

alvarotrigo commented Nov 29, 2016

fullPage.js uses:

                        if (delta < 0) {
                            scrolling('down', scrollable);

                        //scrolling up?
                        }else {
                            scrolling('up', scrollable);
                        }

And you probably don't have any issue there.
So not quite sure if the problem is there in any case.

@ryanturnerwebdev
Copy link
Author

Yes this solves the issue I was having. Pushed new commit to as suggested.

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

Successfully merging this pull request may close these issues.

None yet

2 participants