• Resolved NtwJzcWtaea

    (@xiaolllll)


    hello:

    I am using wp 6.4.2 and woocommerce 8.3.1, when add a product there are lots of warning show in browser console like below:

    select2.full.min.js?ver=4.0.3:16 [Violation] Added non-passive event listener to a scroll-blocking ‘wheel’ event. Consider marking event handler as ‘passive’ to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

    how to fix it? although it seems does not affect the function.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there, @xiaolllll! Thanks for contacting us. I’m happy to help you.

    Those warnings in your browser console are related to how an event is being handled on your site, specifically with the ‘wheel’ event. While it might not directly affect the functionality, addressing these warnings can help maintain a smoother experience for your users.

    The warning you’re seeing about non-passive event listeners is usually related to the way the event listener is set up in the code. It’s often found in external scripts or libraries like ‘select2.full.min.js.’

    Unfortunately, as this warning comes from a script (in this case, select2), it’s not something you can directly fix within the WooCommerce or WordPress settings. It requires an update or modification within the select2 script itself.

    Your best course of action would be to ensure you’re using the latest version of WooCommerce, WordPress, and any other plugins.

    I see you are using an outdated version of WooCommerce, please update it (along with any other plugin that might need an update) and check if the issue persists.

    We recommend keeping everything updated. Regularly updating plugins and theme helps maintain your site’s security, performance, and compatibility while ensuring you benefit from the latest features and improvements.

    I hope this was clarifying. If you face any issues or have any questions, please let us know so we can assist you further.

    Have a wonderful day!

    Hey there ??,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘select2 Violation’ is closed to new replies.