After closing a confirm dialog on a page by Esc key, I cannot input any text into any text field on the page. How can I fix it?
This small html should be able to reproduce the problem easily.
<html>
<head></head>
<body>
<input type="text">
<script>
window.confirm('hogehoge')
</script>
</body>
</html>
Repro Steps:
- Open this html to open a confirm dialog above the page.
- Hit Esc key on keyboard to close the dialog.
- Click on the text-input field on the page to try input something.
Result:
Caret doesn't show up, and cannot input anything.
Expected:
Can input text into the text-input field.
Notes:
- This repros on Chrome and Edge(chromium).
- Not repro on FireFox.
- OS: Windows10
- Once the focus goes out of the window, this problem disappears.