Parcourir la source

Onscroll event

I ran into the problem, I attach an event "onscrollend", it transition some an element to left by css. Nicescroll does it no smoothy.
To managed of this, was added to the function of "self.onscroll" call of "self.triggerScrollEnd()"
Dmitriy il y a 8 ans
Parent
commit
ce70310970
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      jquery.nicescroll.js

+ 1 - 0
jquery.nicescroll.js

@@ -3333,6 +3333,7 @@
           self.noticeCursor();
         });
       }
+      self.triggerScrollEnd();
     };
     self.bind(self.docscroll, "scroll", self.onscroll);