Archived topic
Double click issue on Chrome iOS
8 replies · Started by Incal on July 5, 2022
Hi,
I noticed that on Chrome iOS I need two clicks to open a link.
I disabled all plugins but these 6 and the issue persists:
Advanced Custom Fields
FacetWP
FacetWP - Flyout menu
GenerateBlocks
GenerateBlocks Pro
GP Premium
I also turned off the JS/CSS minification from Kinsta CDN (Cloudflare).
Do you know where it could come from?
Many thanks,
Kevin
Hi there,
can you temporarily disable the Back to Top button and let me know if the issue persists.
Hi David,
Indeed that solved it!
Is there any way to keep the button? Not a big deal if I need to disable it, but I find it useful.
Thanks a lot,
Kevin
Hmmm.... we have had a few reports of this now.
Its a pain, as only affects some sites and not others, and only seems to break on iOS Chrome, which makes it a pain to debug.
We don't yet have a solution to that, but we are working on it.
Hi David,
Ok thank you - no worries!
Best,
Kevin
For reference i raised a GitHub issue here:
https://github.com/tomusborne/generatepress/issues/407
If you want to comment you will then get auto updates on the issue.
Hello,
I have the same problem. Back to top button in disabled and I don't use the generatepress sticky navigation (hide-on-scroll) I saw in another post. But those options don't solve the problem. Do you know what else it could be?
Thanks in advance.
Roy
Hi there,
can you raise a new topic where you can share a link to the site and we can take a look
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