Report JS doesn’t work on Safari on iOS
-
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.
- The topic ‘Report JS doesn’t work on Safari on iOS’ is closed to new replies.