kswedberg / jquery-smooth-scroll

Automatically make same-page links scroll smoothly
MIT License
1.97k stars 427 forks source link

Scrolling not smooth #106

Closed douwepausma closed 7 years ago

douwepausma commented 7 years ago

When I click the link it jumps instantly to the assigned div there's no scrolling animation. (I think I might be doing something wrong.)

kswedberg commented 7 years ago

Sounds like either the selector you're using for the link is incorrect or the the link is not in the DOM at the time you're calling $(selector).smoothScroll(). I would need more information (link to a demonstration of the problem or some code at least) before I could help troubleshoot any further.