stream-chat-angular 5.1.8 → 5.1.9
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/assets/version.d.ts +1 -1
- package/esm2020/assets/version.mjs +2 -2
- package/esm2020/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.mjs +2 -2
- package/esm2020/lib/message-input/textarea/textarea.component.mjs +2 -2
- package/fesm2015/stream-chat-angular.mjs +3 -3
- package/fesm2015/stream-chat-angular.mjs.map +1 -1
- package/fesm2020/stream-chat-angular.mjs +3 -3
- package/fesm2020/stream-chat-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -19,7 +19,7 @@ import transliterate from '@stream-io/transliterate';
|
|
|
19
19
|
import * as i8$1 from 'angular-mentions';
|
|
20
20
|
import { MentionModule } from 'angular-mentions';
|
|
21
21
|
|
|
22
|
-
const version = '5.1.
|
|
22
|
+
const version = '5.1.9';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
|
|
@@ -5924,7 +5924,7 @@ class TextareaComponent {
|
|
|
5924
5924
|
this.adjustTextareaHeight();
|
|
5925
5925
|
}
|
|
5926
5926
|
enterHit(event) {
|
|
5927
|
-
if (this.inputMode === 'desktop') {
|
|
5927
|
+
if (this.inputMode === 'desktop' && !event.isComposing) {
|
|
5928
5928
|
event.preventDefault();
|
|
5929
5929
|
this.send.next();
|
|
5930
5930
|
}
|
|
@@ -6151,7 +6151,7 @@ class AutocompleteTextareaComponent {
|
|
|
6151
6151
|
this.updateMentionedUsersFromText();
|
|
6152
6152
|
}
|
|
6153
6153
|
enterHit(event) {
|
|
6154
|
-
if (this.inputMode === 'desktop') {
|
|
6154
|
+
if (this.inputMode === 'desktop' && !event.isComposing) {
|
|
6155
6155
|
event.preventDefault();
|
|
6156
6156
|
this.updateMentionedUsersFromText();
|
|
6157
6157
|
this.send.next();
|