I have several pages that use Cornerstone’s Page JS to run various javascript actions. One of the pages has stopped executing the Page JS code on iOS browsers (tested on Safari and Chrome) until I tap or scroll on the screen.
Page: https://env-syntorial-staging.kinsta.cloud/buy-now/
How to recreate:
- I’ve added “console.log(“TEST LOG”)” as the first line in the Page JS
- Open the page on any computer browser and you’ll see “TEST LOG” in the dev console (followed by a bunch of other things).
- Open that same page on iOS Safari or Chrome and you won’t see “TEST LOG” in the console (let alone any of the other following code).
- Tap or scroll on the screen and the Page JS will then fire.
Any idea what would prevent Cornerstone from executing the Page JS on just one particular page?