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

Made options for scrollLeft and fix callback bug #11

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

Conversation

yanawaro
Copy link

Hi there!
I love your little script, useful indeed. But I wanted it to be able to use with horizontal scroll too. I made this modification. I followed you arguments pattern. But actually its better to pass in an option object, its more convenient if in the future some more options could be added.

I also found that if the scroll distance is more than the actual scrolling width the callback doesn't fire, I move the callback when It detects its not animating.

@gpbl
Copy link

gpbl commented Jul 26, 2016

👍 I'd love to see this merged. Is @madebysource still open to PRs for this little gem?

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