I often use wow.js or waypoints.js to animate elements while scrolling the page.
For a current project I used snap.js to create a menu drawer. When using snap.js you divide your page like this;
<div class="snap-drawers" id="right">
<div class="snap-drawer-right">
<!-- Menu drawer -->
</div>
</div>
<div class="snap-content" id="content">
<!-- Page content -->
</div>
I might be mistaken but I think the reason why none of the two libraries work is because I scroll inside the #content instead of html, body. I tried to manipulate the libraries but that didn't work out quite well.
I'd like to keep snap.js...
Anyone encountered the same issue or someone who might have a solution? Thanks in advance!