Site logo

Archived topic

Click twice on mobile links

34 replies · Started by Rebeca on December 21, 2020

Viewing posts 31–35 of 35

Hi so I switched to the twenty twenty-two theme and the problem was gone. Switched back to GP Premium and the problem persists.

Just to clarify my previous testing, here is what I noticed so far:
1. Disabled every plugin including GP Premium - Problem gone
2. Disabled every plugin except GP Premium - Problem persists
3. Disabled only GP premium - Problem persists
4. Disable all modules - Problem persists
5. Changed themes while keeping all plugins Active - Problem gone

Please let me know what should be done next.

Thanks!

Hi Paulo,

Can you open a new topic and link us to the page where we can test this issue on our end?

If you can provide admin access for us to do some testing, it would be great!

Please use the private info field to enter login details.

Thanks!

Hey,

I had the same issue. This is actually a known bug on iOS that sometimes occurs when using the Delay JS. This bug causes links to not work until they are clicked twice.

I fixed the issue adding a Hook element:

Hook: wp_head
Location: Entire Site


<script src="https://cdnjs.cloudflare.com/ajax/libs/fastclick/0.6.0/fastclick.min.js" integrity="sha512-oljyd1wg75alHReTpDvNIQ4Yj1wZwGxxZhJhId3vr2dKY+26/r/wmMrImwDgin03+7wxyhX+adOQB/2BTvO5tQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

<script>if ('addEventListener' in document) {document.addEventListener('DOMContentLoaded', function() {FastClick.attach(document.body);}, false);}</script>

More details here => https://perfmatters.io/docs/delay-javascript/#ios-double-click

Thank you very much for sharing!

This archived topic is closed to new replies.