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

Remove / Unbind simplr-smoothscroll after a button is clicked #13

Open
brunogdesign opened this issue Mar 11, 2015 · 1 comment
Open

Comments

@brunogdesign
Copy link

Hi!

Is there a way to unbind smooth scroll functionality when a user presses for example a button? In my case, I want to remove this functionality if I detect that the user is using touch events to navigate on the website instead of regular mouse scroll events...

I've looked at the source code and could not find a way to do that.

Cump's

@simov
Copy link
Owner

simov commented Mar 16, 2015

Currently there is no such functionality. Your only option is to check for user agent before initializing the plugin.

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

No branches or pull requests

2 participants