stream-chat-angular 5.1.7 → 5.1.8
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.8';
|
|
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.
|
|
@@ -5912,7 +5912,7 @@ class TextareaComponent {
|
|
|
5912
5912
|
}
|
|
5913
5913
|
ngAfterViewInit() {
|
|
5914
5914
|
this.isViewInited = true;
|
|
5915
|
-
if (this.messageInput.nativeElement.scrollHeight > 0) {
|
|
5915
|
+
if (this.messageInput.nativeElement.scrollHeight > 0 && this.value) {
|
|
5916
5916
|
this.adjustTextareaHeight();
|
|
5917
5917
|
}
|
|
5918
5918
|
}
|
|
@@ -6120,7 +6120,7 @@ class AutocompleteTextareaComponent {
|
|
|
6120
6120
|
ngAfterViewInit() {
|
|
6121
6121
|
this.isViewInited = true;
|
|
6122
6122
|
this.chatClientService?.chatClient?.logger?.('info', '[Autocomplete textarea] View inited');
|
|
6123
|
-
if (this.messageInput.nativeElement.scrollHeight > 0) {
|
|
6123
|
+
if (this.messageInput.nativeElement.scrollHeight > 0 && this.value) {
|
|
6124
6124
|
this.adjustTextareaHeight();
|
|
6125
6125
|
}
|
|
6126
6126
|
}
|