rayled
Forum Replies Created
-
Forum: Plugins
In reply to: [MouseWheel Smooth Scroll] Conflict Lenis and Popup Maker + Contact Form 7The problem was solved for me, thanks! In the popup-maker plugin there is a file:
\wp-content\plugins\popup-maker\templates\popup.phpThere is a line:
<div id="pum-<?php…I added
data-lenis-preventto 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-45here is theidof my specific popup window. Other people will have a different number.Forum: Plugins
In reply to: [MouseWheel Smooth Scroll] Conflict Lenis and Popup Maker + Contact Form 7Overall, 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.
Forum: Reviews
In reply to: [MouseWheel Smooth Scroll] Funziona bene ma solo su ChromeLocomotive 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