min30327 / luxy.js

Inertia scroll and parallax effect plugin in Vanilla.js
596 stars 86 forks source link

Luxy is disabling my page transitions with SWUP #8

Closed Felixr91 closed 5 years ago

Felixr91 commented 5 years ago

I'm using Lux with SWUP.js a page transition library with cdn's at in my footer.php file like this...

`

<script type="text/javascript">
    const swup = new Swup();
</script>

<!-- Luxy -->
<script src="https://cjh.sfo2.cdn.digitaloceanspaces.com/Smooth-Scroll/luxy.js"></script>
<script type="text/javascript"> 
    luxy.init({
        wrapper: '#luxy',
        wrapperSpeed:  0.08
    });
</script>`

For some reason Luxy is stopping my page transitions. I really love both of these libraries and would like to keep both in my project. Any ideas?