Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rayled

    (@rayled)

    The problem was solved for me, thanks! In the popup-maker plugin there is a file:

    \wp-content\plugins\popup-maker\templates\popup.php

    There is a line: <div id="pum-<?php…

    I added data-lenis-prevent to this DIV. LENIS started working correctly. But of course I can’t change the code in the plugin, because it is constantly updated. So I had to add JS to my child theme:

    document.addEventListener('DOMContentLoaded', function () {
    var popupElement = document.getElementById('pum-45');
    if (popupElement) {
    popupElement.setAttribute('data-lenis-prevent', '');
    }
    });

    pum-45 here is the id of my specific popup window. Other people will have a different number.

    Thread Starter rayled

    (@rayled)

    Overall, LENIS works. The problem is only with what I described above, at least I haven’t found any other problems. But this problem prevents me from using LENIS. So far I’ve been using GBLAZEX, it works as expected. To be honest, I haven’t decided yet which scroll is better, but for now there are no alternatives for me. There are no errors in the browser console.

    • This reply was modified 1 year, 4 months ago by rayled.

    Locomotive Scroll demo page works in Safari. But I’m interested in your plugin because I only need smooth scrolling. However, I would like it to work in all popular browsers

Viewing 3 replies - 1 through 3 (of 3 total)