Skip to content

Updating the value prop opens the dropdown without being focused #99

@Prinzhorn

Description

@Prinzhorn

Related to #95

See https://svelte.dev/playground/eb64b1194696420697578f82206cd8a2?version=5.44.0

The results should never show when the input doesn't have focus. I have multiple Typeahead that depends on other (you drill down into data). When the next Typeahead would only have a single entry, I automatically set the value to that data and my internal state to that item so that the user can skip to the second next Typeahead. The current behavior makes it so that selecting an item at the top might open one or even multiple Typeahead's results with a single option further down below the form.

Is this desired behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions