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
popstateevent. - And tried
window.alert('abc');// It works. - Tried
history.back()or click back button, thenpopstateevent triggered. - And tried
window.alert('abc');// Not working.
I found the same issue, there is no answers left, so I post a question once again.
Alert, confirm, and prompt not working after using History API on Safari, iOS
- I can't do
location.reloadinside theonpopstateevent because of some issues.
Is there any ios bug report?
or.. Does anyone know why this happenes or how to fix it?