notebook icon indicating copy to clipboard operation
notebook copied to clipboard

UI issue: cell cursor does not move to the target cell when using keyboard shortcuts

Open tanweihou opened this issue 1 year ago • 1 comments
trafficstars

Description

Jupyter notebook does not move the target cell when inserting a new cell above (pressing A).

notebook ui problem.webm

Reproduce

  1. Type a few lines of code, ideally comes with many lines of error messages (my example), many lines of output.
  2. Press "Shift+Enter" to execute that cell.
  3. Use arrow key to move up to the same cell.
  4. Press A and check if cell cursor move to the cell above.

Expected behavior

Cell cursor should move to the target cell.

expected behavior.webm

Context

  • Operating System and version: Windows 11, Ubuntu 22.04
  • Browser and version: Chrome 121 on both Windows 11 and Ubuntu 22.04
  • Jupyter Notebook version: 7.0.6
  • Jupyter Lab version: 4.0.8
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter notebook` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.

tanweihou avatar Jan 31 '24 19:01 tanweihou

Triage notes: This will likely be fixed in 7.1. Please verify when this version is available.

JasonWeill avatar Feb 06 '24 17:02 JasonWeill

Hi, I just checked it with the following specs

  • Jupyter Notebook version: 7.1.1
  • Jupyter Lab version: 4.1.2

and the UI issue has been fixed. Thanks a lot.

tanweihou avatar Feb 27 '24 17:02 tanweihou