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

Added an option to disable the scroll stopping behavior #7

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

Conversation

lakemalcom
Copy link

While the default behavior very nice, I have a scrolling top / header type dock that needs to keep on moving even when the viewport is too small to fit it completely in. Of course, since the item is fixed position, scrolling left or right doesn't allow the user to view the edges of the scrolling element, which is kind of crappy, but it serves my needs well enough. Let me know if you'd rather see a different name or if there's a better way to do it.

@lakemalcom
Copy link
Author

I also just added a fix for a problem where on IE/Safari/Chrome, resizing the window causes the scroll event to move the page to the top.

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