why skrollr.js moves elements to the side

I have set some skrollr.js library animations on my project when scrolling down. However, I have a navbar that scrolls down to different sections as well. When I click on any section on the navbar, that whole section moves to the side because of skrollr.js. Tried looking for a solution here, but couldn't find any related topic. What can I do in this situation?

First image Second image



Read more here: https://stackoverflow.com/questions/67009367/why-skrollr-js-moves-elements-to-the-side

Content Attribution

This content was originally published by Denis Kviatkovskij at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: