Hi there, thank you for creating this plugin, it's worked beautifully for many of my projects so far.
I have a question (not a bug) in regards to: is it possible to only allow smooth scrolling on certain elements, and prevent it from doing so on other elements?
\
I've tried to use SmoothScroll.destroy(); on elements I want the smooth scroll to be disabled on; however this didn't seem to work, as it ends up disabling smooth scroll for all elements.
I appreciate any advice. Looking forward to hearing from you. :relaxed:
Hi there, thank you for creating this plugin, it's worked beautifully for many of my projects so far.
I have a question (not a bug) in regards to: is it possible to only allow smooth scrolling on certain elements, and prevent it from doing so on other elements?
I've created a quick demo of what I'm trying to achieve: jsfiddle.net/glenthemes/c2fq8sdk
\ I've tried to use
SmoothScroll.destroy();
on elements I want the smooth scroll to be disabled on; however this didn't seem to work, as it ends up disabling smooth scroll for all elements.I appreciate any advice. Looking forward to hearing from you. :relaxed: