@sumaris-net/ngx-components 18.3.1 → 18.3.3

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.
@@ -8047,7 +8047,7 @@ class MatAutocompleteField {
8047
8047
  }
8048
8048
  }
8049
8049
  this._implicitValue = null; // reset the implicit value
8050
- this.closePanel(); // Clone panel
8050
+ this.closePanel(); // Close panel
8051
8051
  // Invalidate loaded items (mark as loading should force next focus to reload items)
8052
8052
  if (invalidateFilteredItems) {
8053
8053
  this._selectedItem = null;
@@ -8078,7 +8078,10 @@ class MatAutocompleteField {
8078
8078
  // Select input content, on focus or press enter
8079
8079
  if (this.selectInputContentOnFocus && !this.mobile && !this.multiple) {
8080
8080
  this._subscription.add(merge(this.focused.pipe(filter((event) => !event.defaultPrevented), tap$1((event) => event.preventDefault())), this.keyupEnter.pipe(filter(() => isNotNilObject(this.formControl.value))))
8081
- .pipe(debounceTime(this.selectInputContentOnFocusDelay))
8081
+ .pipe(debounceTime(this.selectInputContentOnFocusDelay)
8082
+ // TODO: filter Only if still focused - See sumaris issue on double panel opened
8083
+ //filter()
8084
+ )
8082
8085
  .subscribe(() => {
8083
8086
  if (this.debug)
8084
8087
  console.debug(this.logPrefix + ' Selecting input content (focused)');