Skip to content

Commit

Permalink
fix: input should hide when unfocus (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: Guodong Zang <gdzang@alauda.io>
  • Loading branch information
zangguodong and Guodong Zang authored Jul 16, 2020
1 parent 950ccce commit 605491d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/tags-input/tags-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class TagsInputComponent extends CommonFormControl<string[]> {

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

Expand Down

0 comments on commit 605491d

Please sign in to comment.