Skip to content

When clearing whole text in one go neither source/onConfirm are called #548

Open
@EfosaSO

Description

@EfosaSO

There is a bug in the 'accessible-autocomplete/react' package. When you clear the input by highlighting the whole text and then deleting it in one go, it never runs the source or onConfirm functions.

This is preventing me from clearing a state value when the input text is empty.

Here is codesandbox demo

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