Skip to content

Type hint is selected in node graph view #4311

Description

@0HyperCube

Reproduction

  • Drag a wire from an output with a resolved type
  • Type something to narrow down your search
  • Note how the type information is lost from the search since it is automatically selected

This is really annoying UX.

The node catalogue is only temporary

Is it really? It is basically unchanged from its initial implementation for 2 years. See #2072.

Code

The node catalogue automatically focuses the input (this is desired):

onMount(() => {
setTimeout(() => nodeSearchInput?.focus(), 0);

When the focus is changed, the text input automatically selects all the text (not desired)
function onTextFocused() {
editing = true;
self?.selectAllText(value);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions