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

LastY variable was added to settings #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

annmirosh
Copy link

Hello!
I suggest to add variable lastY to settings object. I think it will be good, if developer will have ability to set this value via settings. It can be useful for pages viewed on mobile devices. I think that default value (=40) is too small for some applications. When I added hook.js to my mobile application, I thought that it didn't work first time, because when I scrolled the page, my finger clicked on the middle of the screen and nothing happened (because lastY was more than 40)), so I guess that placing lastY to settings could do this library more flexible.

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.

1 participant