• Resolved jsproblem

    (@jsproblem)


    Hello,

    The report JS feature is working really well, but there is a problem on iOS devices running Safari.

    All the links that need javascript to be loaded, need two clicks.

    No matter how much you move or wait, you will need to make two clicks to open that link, and this, only on iOS devices running safari.

    It seems that it might be a known issue with some way to prevent it: https://stackoverflow.com/questions/9779070/ios-delay-between-touchstart-and-touchmove/10340968#10340968

    And for exemple on another plugin there is this bug too and some guy found a solution https://github.com/wp-media/wp-rocket/issues/3142

    “const instance = new RocketLazyLoadScripts([‘keydown’,’mouseover’,’touchmove’,’touchstart’],browser);

    replace?touchmove?with?touchmove touchend
    replace?touchstart?with?touchstart touchend

    But I don’t know how to adapt this to litespeed cache! Or if you know another solution to make this work!

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    thanks for the info , I will pass this to our devs

    Hi,

    Is there a code that we could add in functions.php so if there is no user interaction, the js is still loaded after 10 seconds?

    Thanks!

    Currently seems not…

    Due to inactivity of this topic, I will mark this topic as “resolved”. If you still have such concerns, please feel free to open a ticket with further information by emailing to [email protected]. Remember to reference this topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Report JS doesn’t work on Safari on iOS’ is closed to new replies.