Skip to content

Editable text should stop being edited on other interactions #1437

Closed
@alexcjohnson

Description

@alexcjohnson

Discovered when fiddling with the legend for #1432 - if you make a plot in {editable: true} mode and click on some element that's editable as text (legend text, plot title, axis title, axis end), it becomes a text entry you can type in. But it doesn't go away nearly as easily as it should. As far as I can tell currently you need to either accept a new value with <enter>, cancel with <esc>, click on a different text-edit field, or click somewhere that has no interactions at all (like the outer border of the plot). But if you click or drag anywhere that has another interaction, the text entry sticks around - even if it's no longer where it should be, like if you drag the legend out from under it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions