Hi @aaron13223, I found the following code on your page that’s not standard:
(function(){var supportsPassive=eventListenerOptionsSupported();if(supportsPassive){var addEvent=EventTarget.prototype.addEventListener;overwriteAddEvent(addEvent);}
function overwriteAddEvent(superMethod){var defaultOptions={passive:true,capture:false};EventTarget.prototype.addEventListener=function(type,listener,options){var usesListenerOptions=typeof options==='object';var useCapture=usesListenerOptions?options.capture:options;options=usesListenerOptions?options:{};options.passive=options.passive!==undefined?options.passive:defaultOptions.passive;options.capture=useCapture!==undefined?useCapture:defaultOptions.capture;superMethod.call(this,type,listener,options);};}
function eventListenerOptionsSupported(){var supported=false;try{var opts=Object.defineProperty({},'passive',{get:function(){supported=true;}});window.addEventListener("test",null,opts);}catch(e){}
return supported;}})();
This code affects the EventTarget
prototype and forces “passive: true” if the useCapture flag isn’t set. I made a change to my plugin that I believe should fix the issue for you. Please make sure you’re using at least WordPress v5.6.0, then download plugin version 2.13.0 and let me know if the issue is fixed.
-
This reply was modified 3 years, 11 months ago by kevinweber.
-
This reply was modified 3 years, 11 months ago by kevinweber.
-
This reply was modified 3 years, 11 months ago by kevinweber.