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

Jupyter notebook > 7 keyboard shortcuts get active when typing in a Textarea #3926

Open
agoscinski opened this issue Jun 30, 2024 · 0 comments

Comments

@agoscinski
Copy link

agoscinski commented Jun 30, 2024

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

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

1 participant