Skip to content

Commit 605491d

Browse files
zangguodongGuodong Zang
and
Guodong Zang
authored
fix: input should hide when unfocus (#38)
Co-authored-by: Guodong Zang <[email protected]>
1 parent 950ccce commit 605491d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/input/tags-input/tags-input.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class TagsInputComponent extends CommonFormControl<string[]> {
9797

9898
get inputClass() {
9999
return `${this.bem.element('input', {
100-
hidden: this.disabled || (!this.snapshot.value.length && !this.focused),
100+
hidden: this.disabled || !this.focused,
101101
})} aui-tag aui-tag--${this.tagSize}`;
102102
}
103103

0 commit comments

Comments
 (0)