Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor not visible in Vim mode #1273

Open
jason-pollock opened this issue Oct 18, 2021 · 3 comments
Open

Cursor not visible in Vim mode #1273

jason-pollock opened this issue Oct 18, 2021 · 3 comments

Comments

@jason-pollock
Copy link

Current behavior

While in Vim mode, the cursor is invisible on empty lines. This is reproducible in every note. Reproducible in Mac, Debian, and online versions.

https://i.imgur.com/83F6ceb.png

Expected behavior

The cursor should be visible on empty lines, displayed in blinking block format.

Steps to reproduce

Open a new or existing note. Enter Insert mode and type a few lines. Exit to Command mode. Navigate to an empty line using "H" or "J". Notice that your cursor is invisible on empty lines.

Not much else to say. It happens to me every time on every note.

Environment

  • Web

  • Mac

  • Debian

  • Boost Note.next version: 0.22.0

  • OS version and name: Kubuntu 20.04, MacOS Big Sur 11.6

@Komediruzecki
Copy link
Contributor

Hi,

I can confirm the issue, I'll notice the team so we can resolve this quickly.

@Komediruzecki
Copy link
Contributor

Hello,

I investigated the issue, this seems to be a general Codemirror bug, codemirror/codemirror5#6312
which means if we are using VIM mode and contenteditable in Codemirror editor, the VIM cursor on an empty line won't be shown. So it is either moving to textarea mode (and losing IME working properly) or waiting for the Codemirror to fix this.

I made a comment on the issue, if this will be resolved quickly, we will just update the Codemirror version, otherwise, we should see for some other solutions.

@jason-pollock
Copy link
Author

Looks like Codemirror has fixed the bug causing this issue, yet the issue persists in Boost Note. Any chance of revisiting this issue? Get Vim mode working again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants