You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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?