eclipse-theia/theia

InputBox cursor sometimes misbehaves when typing

Open

#6,886 opened on Jan 14, 2020

View on GitHub
 (5 comments) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
:thinking: needs more infobughelp wantedvscode

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

Description

Sometimes typing in an InputBox misbehaves. If you type faster, it gets worse and worse. You can see a recording here from this issue: https://github.com/eclipse/codewind/issues/1424

I only see this issue with InputBoxes created using window.createInputBox. That is, if you use window.showInputBox, there is no problem.

I see it with InputBoxes that set the vaildationMessage and have an onDidChangeValue callback, and InputBoxes that don't.

Reproduction Steps

  1. Create an input box using window.createInputBox
  2. Type in it, really quickly for more obvious results.

OS and Theia version: Reproduced in both Firefox and Chrome on MacOS. image

We have seen this in earlier versions of Theia too, but I couldn't say what the first time we saw it was.

Diagnostics: Nothing interesting in the theia logs or browser logs.

Contributor guide