Skip to content

TextInput and TextAreaInput from bokeh triggers notebook shortcuts while writing text #16660

Open
@mosc9575

Description

@mosc9575

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

When using either TextInput or TextAreaInput from bokeh the active cell is sensitive to the written letters and this causes that letters and strings like 'a', 'b' or 'dd' will trigger the shortcut. Turns out that the notebook adds and removes cells, which is confusing.

Image

Using the same code in jupyter lab in a browser works fine, so I think this behavior is is caused on the VSCode side. I can't reproduce this with ipywidgets.

from bokeh.models import TextInput
from bokeh.io import output_notebook, show
output_notebook()

ti = TextInput()
show(ti)

VS Code Version

1.100.2

Jupyter Extension Version

2025.4.0

Jupyter logs

None

Coding Language and Runtime Version

Python 3.12.4

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugnotebook-output

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions