@alauda/ui 6.4.1-beta.3 → 6.4.1-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1827,7 +1827,7 @@ class AutoCompleteDirective extends BaseTooltip {
1827
1827
  }
1828
1828
  ngAfterViewInit() {
1829
1829
  const input = this.input;
1830
- fromEvent(input, 'focus')
1830
+ merge(fromEvent(this.elRef.nativeElement, 'click'), fromEvent(input, 'focus'))
1831
1831
  .pipe(takeUntil(this.unsubscribe$))
1832
1832
  .subscribe(() => this.onFocus());
1833
1833
  fromEvent(input, 'blur')
@@ -1901,6 +1901,9 @@ class AutoCompleteDirective extends BaseTooltip {
1901
1901
  this.disposeTooltip();
1902
1902
  }
1903
1903
  createTooltip() {
1904
+ if (this.isCreated) {
1905
+ return;
1906
+ }
1904
1907
  super.createTooltip();
1905
1908
  this.autoFocusFirstSuggestion();
1906
1909
  }
@@ -4932,9 +4935,6 @@ class TagsInputComponent extends CommonFormControl {
4932
4935
  this.pushValue(inputEl.value);
4933
4936
  });
4934
4937
  }
4935
- else if (event.key === 'Escape') {
4936
- inputEl.blur();
4937
- }
4938
4938
  }
4939
4939
  onInputFocus() {
4940
4940
  this.focused = true;