mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed tag autocomplete behaviour
This commit is contained in:
parent
9dc83b0db8
commit
85d20e5009
8 changed files with 25 additions and 20 deletions
|
@ -132,8 +132,9 @@ const TagInput: FC<IProps> = ({ exclude, onAppend, onClearTag, onSubmit }) => {
|
|||
/>
|
||||
</TagWrapper>
|
||||
|
||||
{focused && input?.length > 0 && ref.current && (
|
||||
{!!ref.current && (
|
||||
<TagAutocomplete
|
||||
visible={focused && input?.length > 0}
|
||||
exclude={exclude}
|
||||
input={ref.current}
|
||||
onSelect={onAutocompleteSelect}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue