Skip to content

feat(typeahead): optionally do not hide the results on blur #2059

Closed
GulajavaMinistudio/ngx-bootstrap
#136
@NKjoep

Description

@NKjoep

I couldn't find any issue related to the onblur, so I am creating this.
the current src code:

@HostListener('blur')
public onBlur(): void {
  if (this._container && !this._container.isFocused) {
    this.typeaheadOnBlur.emit(this._container.active);
    this.hide();
  }
}

I would expect a configuration option whether hide or not the results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions