Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Is there a way to change OnBlur so that focusing and then clicking on a chip doesn't trigger it? #362

Description

@lim1017

I have an app where the chip inputs disappears onBlur, and is replaced with a typography component.

Currently if the chipInput is focused and I go to delete a chip the onBlur will trigger and the chipInput is replaced.
I would like to only trigger the onBlur when the user clicks outside the chipInput, and not on any of the chips

Is there a way to do this? Or do I I have to do something like use refs to detect an outside click?

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