I was trying out the EUICodeEditor on the demo page and noticed that when I hit escape before making edits, I get the "When you're done press, press Escape to stop editing" overlay on the editor. But after making edits, hitting escape doesn't seem to do anything.
Repro steps
- Load up https://elastic.github.io/eui/#/forms/code-editor and put focus on the editor
- Hit escape (should bring up overlay)
- Click on the overlay to return focus and type whatever you want
- Try to hit escape again
Expected Behavior
The hint overlay appears
Actual Behavior
Focus stays on the editor and nothing happens
I was trying out the EUICodeEditor on the demo page and noticed that when I hit escape before making edits, I get the "When you're done press, press Escape to stop editing" overlay on the editor. But after making edits, hitting escape doesn't seem to do anything.
Repro steps
Expected Behavior
The hint overlay appears
Actual Behavior
Focus stays on the editor and nothing happens