material-ui-chip-input
material-ui-chip-input copied to clipboard
Is there a way to change OnBlur so that focusing and then clicking on a chip doesn't trigger it?
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?