@alauda/ui 6.4.1-beta.2 → 6.4.1-beta.5
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.
- package/esm2020/autocomplete/autocomplete.directive.mjs +3 -3
- package/esm2020/input/tags-input/tags-input.component.mjs +1 -4
- package/fesm2015/alauda-ui.mjs +1 -4
- package/fesm2015/alauda-ui.mjs.map +1 -1
- package/fesm2020/alauda-ui.mjs +1 -4
- package/fesm2020/alauda-ui.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/alauda-ui.mjs
CHANGED
|
@@ -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(input, 'click'), fromEvent(input, 'focus'))
|
|
1831
1831
|
.pipe(takeUntil(this.unsubscribe$))
|
|
1832
1832
|
.subscribe(() => this.onFocus());
|
|
1833
1833
|
fromEvent(input, 'blur')
|
|
@@ -4932,9 +4932,6 @@ class TagsInputComponent extends CommonFormControl {
|
|
|
4932
4932
|
this.pushValue(inputEl.value);
|
|
4933
4933
|
});
|
|
4934
4934
|
}
|
|
4935
|
-
else if (event.key === 'Escape') {
|
|
4936
|
-
inputEl.blur();
|
|
4937
|
-
}
|
|
4938
4935
|
}
|
|
4939
4936
|
onInputFocus() {
|
|
4940
4937
|
this.focused = true;
|