Skip to content

Notebook "Add Code Cell" button sometimes does not focus the newly created cell #247008

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

Open
RossBencina opened this issue Apr 20, 2025 · 0 comments
Assignees

Comments

@RossBencina
Copy link

RossBencina commented Apr 20, 2025

Does this issue occur when all extensions are disabled?: No (Requires Jupyter extension)

  • VS Code Version:
    Version: 1.99.3 (user setup)
    Commit: 17baf84
    Date: 2025-04-15T23:18:46.076Z
    Electron: 34.3.2
    ElectronBuildId: 11161073
    Chromium: 132.0.6834.210
    Node.js: 20.18.3
    V8: 13.2.152.41-electron.0
    OS: Windows_NT x64 10.0.19045
  • Jupyter extension version:
    Identifier ms-toolsai.jupyter
    Version 2025.3.0
    Last Updated 2025-04-19, 20:21:58
  • OS Version:
    Windows 10 2H22 April patch level

Steps to Reproduce:

  1. Open an .ipynb notebook
  2. Hover over the bottom of a cell, the buttons [+Code] and [+ Markdown] appear (maybe other buttons too)
  3. Click the [+Code] ("Add Code Cell") button
  4. A new code cell is created (so far so good)

Here is the problem:

5a. Expected behavior: Sometimes the new cell is focused with a blinking cursor and you can start typing right away

5b. Intermittent bug: Sometimes the new cell is not focused and you need to type the ENTER key to focus the cell.

I have found no way to reliably reproduce the issue. It just happens sometimes and it is very annoying.

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

2 participants