Skip to content

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.

2 participants