simplr-smoothscroll icon indicating copy to clipboard operation
simplr-smoothscroll copied to clipboard

Remove / Unbind simplr-smoothscroll after a button is clicked

Open brunogdesign opened this issue 9 years ago • 1 comments

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

brunogdesign avatar Mar 11 '15 16:03 brunogdesign

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

simov avatar Mar 16 '15 14:03 simov