mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #1324] Losing focus when pressing esc in vim mode #498
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#498
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rokt33r on GitHub (Nov 18, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1324
Current behavior
Pressing esc key to exit insert mode makes losing focus of the editor.
Expected behavior
The editor should exit insert mode but it should not lose focusing.
@webbdays commented on GitHub (Mar 1, 2022):
Loosing focus ?
Is it that view is changed to the different location of the code in the file? For view
@Komediruzecki commented on GitHub (Mar 1, 2022):
No, the codemirror editor component unfortunately loses focus, the behaviour is a known issue when using VIM and contenteditable, so it has a fix but the fix breaks few other features (e.g., IME in codemirror), which is something new version of CodeMirror (v6) is trying to overcome.
@webbdays commented on GitHub (Mar 1, 2022):
I didn't understand what is loosing focus here ?
Please explain.
@webbdays commented on GitHub (Mar 1, 2022):
Now I got it.
The cursor disappears.
@Komediruzecki commented on GitHub (Mar 1, 2022):
Yes, the cursor disappears since the component where you write text loses focus, so you basically cannot go back and be in view VIM mode.