
Hi @Shunsuke Yasuda ,
I can replicate this issue on iOS Edge with a local HTML file. This behavior also applies to other Window APIs like
window.confirm()
, but only local HTML files are impacted.
When I tested out window.confirm()
, I found that it actually worked, but just got cancelled immediately. It can possibly mean that prompt/confirm dialog is prohibited in a local HTML file (probably out of security concerns). Meanwhile, HTML files are stored on servers work as expected.
Unfortunately, AFAIK there's no workaround for this. You can report this issue to the Dev Team by sending feedback on Microsoft Edge.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Shijie Li