ipywidgets
ipywidgets copied to clipboard
Jupyter notebook > 7 keyboard shortcuts get active when typing in a Textarea
Description
The keyboard shortcuts from jupyter notebook get activate when I type into a Textarea
. For example I cannot type a
without creating a new cell. I checked ipywidgets 8.1.3
, notebook 7.2.1
, but also older versions ipywidgets 8.0.0
, notebook 7.0.2
. I am a bit confused, since I did not have this issue 6 months ago with the old versions. My only guess is that it is the brower somehow, but I might forgot to downgrade something else? Tried Firefox (127.0.2) and Vivaldi (6.7.3329.35 stable). The error seems to also appear on the GitHub CI on this branch https://github.com/osscar-org/scicode-widgets/tree/fix/black-24-upgrade (there are information about the environment in the pyproject.toml and the tox environment tests-notebook-7
)
Reproduce
from ipywidgets import Textarea
Textarea()
# press a
Expected behavior
Keyboard shortcuts should be ignored when typing text into Textarea.
Context
- ipywidgets version >= 8.0.0
- notebook >= 7.0.2 (no extensions)
- Operating System and version: Ubuntu 22.04 LTS
- Browser and version: Firefox (127.0.2) and Vivaldi (6.7.3329.35 stable).
EDIT: Also tried on macOS Sonoma 14.5 with Safara 17.5 and Vivaldi, same issue. EDIT: Tried old Firefox version (102.0) to check why I did not have this issue 6 months ago but the problem also appears there too