To fix the issue:
First, copy and paste the following script into your theme footer (before the closing </body>
tag).
<script id="timingDelayExecution">
// 500 milliseconds after a page loaded, trigger a fake user interaction.
if ('ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0) {
window.onload = () => setTimeout(() => window.dispatchEvent(new Event('touchend')), 500); // 500 milliseconds
}
</script>
Then, exclude the timingDelayExecution
script from Delay JavaScript Execution:
That’s it!
Last modified: Jan 14 2025 at 11:13 PM.