Skip to content

Disabled "insert above" and "insert below" buttons (no active cell) #154

@jtpio

Description

@jtpio

Description

In some situations the buttons to insert code snippets as new cells in a notebook seem to be disabled while they shouldn't.

Reproduce

Create a new notebook and click on the cut icon in the toolbar several times.

With jupyterlab-chat:

jupyter-chat-no-active-cell-issue.mov

With an extension using buildChatSidebar from @jupyter/chat:

jupyter-chat-code-buttons-issue.mov

Expected behavior

The buttons should always be enabled when there is a notebook with the focus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions