Skip to content

Text widgets do not respect on-demand execution #3997

@asemptote

Description

@asemptote

Description

Clicking away from a text-based widget in an interact_manual function triggers an execute event without the button being clicked.

This also occurs if one tabs away from it (or shift-tabs, etc.)

Reproduce

import ipywidgets as widgets

@widgets.interact_manual(x='y')
def f(x):
    return x

Context

  • Clean environment with ipywidgets version 8.1.7
  • Windows 11
  • VSCode Jupyter extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions