The alert function does work in iPadOS, but when wrapped in Vue lifecycle methods - it is prevented. Curious to understand why and what is going on.
Simplest example:
<div id="app">
<h2>Alert</h2>
</div>
new Vue({
el: "#app",
created() {
alert('created')
},
mounted() {
alert('mounted')
}
})
This on the desktop will throw both alerts. In iPadOS Safari - it will not.
Calling JS with alert without Vue will work on iPadOS/iOS.