IOS Mobile Users Need To Click Twice To see Product page woocommerce

Hi, I have a small problem. I was testing my online store on my Android phone and everything seemed to be fine. However, when I tested it on an iPhone, I had to tap twice to open a product. Is there a way to fix this behavior so that the product opens on the first tap?

1 Comment
  1. i already put this on functions.php but doesn´t work:

    function fix_ios_double_tap_issue() {
    echo ‘<script>document.addEventListener(“touchstart”, function() {},false);</script>’;
    }

    add_action(‘wp_head’, ‘fix_ios_double_tap_issue’);

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer