Fix taginput blur effect
This commit is contained in:
parent
7911cf1e2e
commit
af4859d472
@ -233,8 +233,8 @@ export default function TagInput({
|
||||
className="flex flex-col w-full group"
|
||||
onFocus={() => setShouldShowMenu(true)}
|
||||
onBlur={e => {
|
||||
setInputText('');
|
||||
if (!e.currentTarget.contains(e.relatedTarget)) {
|
||||
setInputText('');
|
||||
hideMenu();
|
||||
}
|
||||
}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user