Home › Forums › JavaScript › Why can't JS scroll as smoothly as jQuery? › Reply To: Why can't JS scroll as smoothly as jQuery?
February 27, 2015 at 9:22 am
#196939
Shikkediel
Participant
I’ve been reading along and googling as well. Not having any brilliant ideas though. How about the suggestion I also saw on SO – to have a peek at how jQuery handles it (only the plain underlying code of course)?
http://jqueryjs.googlecode.com/svn/tags/1.3.2/src/offset.js
To be honest, I’m not sure what’s ‘wrong’ with Shane’s latest pen. Could you maybe elaborate on what the bottleneck still is?