• Hello team,

    We are using the RabbitLoader plugin for Core Web Vitals performance optimization. We see that the color swatches are not working in this case.

    We went ahead and debug the JavaScript handlers and see that all handlers are correctly getting invoked when the color option is clicked. Here is the recording of the debug session done by the RabbitLoader team- https://drive.google.com/file/d/1y5l0Q72_LKCSqUtB2piBn6G6joQauKoy/view?usp=share_link

    We would like to understand what changes are required either on “Variation Swatches for WooCommerce” or “RabbitLoader” or both to make it work.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi friend, I got this bug too. I dont know why they havent fixed yet.

    Have you being able to fix it?

    Its triggering click event twice

    Please try editing frontend.js, line 25 has the following code:

    .on('click', '.swatch', function (e) {
        e.preventDefault();
    					      

    Try adding this line below:

    e.stopImmediatePropagation();

    • This reply was modified 1 year, 9 months ago by an0nbr.
    • This reply was modified 1 year, 9 months ago by an0nbr.
Viewing 1 replies (of 1 total)
  • The topic ‘Compatibility with caching plugin’ is closed to new replies.