Browser: All browsers
OS: macOS
URL: https://wordpress-989347-5536398.cloudwaysapps.com/
Not sure if this constitutes as a bug, but I am using WP Rocket on my site and specifically the feature to delay script execution until interaction. I am excluding all internal scripts from this list to avoid bugs (including bricks.min.js).
For some reason, though, it looks like the ‘mouseenter’ event isn’t being attached to the list items in my navigation element in the header until after the user interacts, despite the event listener being added in the bricks.min.js file, and this is loading before any interaction (from looking in the network tab in browser dev tools).
Is there a reason why these events aren’t attached until all the other external scripts are loaded?
Any help is appreciated!