stream-chat-angular 5.9.0 → 5.9.1

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.
@@ -20,7 +20,7 @@ import transliterate from '@stream-io/transliterate';
20
20
  import * as i7$1 from 'angular-mentions';
21
21
  import { MentionModule } from 'angular-mentions';
22
22
 
23
- const version = '5.9.0';
23
+ const version = '5.9.1';
24
24
 
25
25
  /**
26
26
  * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
@@ -7031,6 +7031,7 @@ class AutocompleteTextareaComponent {
7031
7031
  this.userMentionConfig = {
7032
7032
  triggerChar: this.mentionTriggerChar,
7033
7033
  dropUp: true,
7034
+ allowSpace: true,
7034
7035
  labelKey: this.autocompleteKey,
7035
7036
  returnTrigger: true,
7036
7037
  mentionFilter: (searchString, items) => this.filter(searchString, items),
@@ -7128,6 +7129,7 @@ class AutocompleteTextareaComponent {
7128
7129
  this.mentionedUsers.push((item.user ? item.user : item));
7129
7130
  this.userMentions.next([...this.mentionedUsers]);
7130
7131
  }
7132
+ this.searchTerm$.next('');
7131
7133
  return triggerChar + item.autocompleteLabel + ' ';
7132
7134
  }
7133
7135
  autcompleteSearchTermChanged(searchTerm) {