Hello folks,
I recently took a project referenced in post.
I am encountering issues on using scrollTo function on anchor links.
My expect behavior:
- Click on the second link (goes to #section-3)
- Animate and slides to (#section-3)
Current behavior:
- Click on the first link (goes to #section-3)
- Stops at (#section-2)
- Click on the first link again
- Stops at (#section-3)
It seems that my scroll event here causing the anchor link unable to work.
Any advices on how do I work this out? Thank you!