Skip to content Skip to sidebar Skip to footer

IOS Safari Window.alert, Window.confirm Not Working After Onpopstate Triggered

After onpopstate event triggered, window.alert, window.confirm etc not working. This is related console logs Image And this is what I tested. First I registered popstate event.

Solution 1:

I couldn't solve this issue. I had to change window.alert to some custom layer.


Solution 2:

I'm running into the same issue revising some old angularJS code alert does not work anymore window is injected and alert, window.alert or $window.alert do nothing... I remember going thru this but forgot how I got around this issue... might just go with some custom popover... pretty sucky


Post a Comment for "IOS Safari Window.alert, Window.confirm Not Working After Onpopstate Triggered"