You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click in the code box! You are NORMAL MODE by default.
Press i to enter INSERT MODE!
Press Esc!
Expected behavior
The code box is expected to react to further inputs of user after return to NORMAL MODE with Esc key.
Additional information
I've tested it in Chrome, Firefox and Edge and I'm experiencing the bug in vivaldi alone.
I've tested it in incognito mode, with all add-ons and ad block disabled and the error is still present.
The text was updated successfully, but these errors were encountered:
Scripts are able to capture Esc presses in Vivaldi. Vivaldi does however also automatically unfocus the backing textarea. Fortunately this is done sensibly, so it is stoppable by doing if (evt.key === 'Escape') evt.stopPropagation(). I think doing this in onKeyEventTargetKeyDown of codemirror5 Vim mode would solve this.
(One might blame Vivaldi here, but I really appreciate its default behavior, because of my Vim habits. Other browsers may follow suite (maybe Edge has already?), so it makes sense for codemirror to handle this.)
Specs
OS: Windows 11 Pro
Browser: Vivaldi 6.1.3035.302 (Stable channel) (64 bites)
CodeMirror version: 5
Bug description
I can't use VIM mode because every time I press Esc, it pops out of the text box instead of just going into normal mode.
To Reproduce
NORMAL MODE
by default.i
to enterINSERT MODE
!Esc
!Expected behavior
The code box is expected to react to further inputs of user after return to
NORMAL MODE
withEsc
key.Additional information
I've tested it in Chrome, Firefox and Edge and I'm experiencing the bug in vivaldi alone.
I've tested it in incognito mode, with all add-ons and ad block disabled and the error is still present.
The text was updated successfully, but these errors were encountered: