Forums Forums Search & Filter Pro When AOS Animate on Scroll is enabled the filtering displays nothing

Tagged: , ,

Viewing 4 posts - 11 through 14 (of 14 total)
  • Anonymous
    #246958

    Thank you so much Trevor, it works

    Trevor
    #246964

    Can you share the full code you used? It might help other users. Thanks.

    Anonymous
    #246985

    Of course

    <script>
        (function($) {
            $(document).on("sf:ajaxfinish", ".searchandfilter", function() {
                AOS.init({
                    duration: 1200,
                });
            });
        }(jQuery));
        </script>

    I used that in the same PHP page.
    it doesn’t seem to be working when applied on the Custom js of the theme or on the js file containing the init of the animation

    AOS.init({
                    duration: 1200,
                })

    Of course there it was applied without the opening and closing <script> tags.

    Trevor
    #246996

    Thanks for sharing. I will close this thread for now.

Viewing 4 posts - 11 through 14 (of 14 total)