BoostIO / BoostNote-App

Boost Note is a document driven project management tool that maximizes remote DevOps team velocity.

Home Page:https://boostnote.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cursor not visible in Vim mode

jason-pollock opened this issue · comments

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

Hi,

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

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.

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?