stream-chat-angular 4.68.5 → 4.68.7
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/bundles/stream-chat-angular.umd.js +5 -5
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.js +3 -3
- package/esm2015/lib/message-input/textarea/textarea.component.js +3 -3
- package/fesm2015/stream-chat-angular.js +5 -5
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
package/assets/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.68.
|
|
1
|
+
export declare const version = "4.68.7";
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
var version = '4.68.
|
|
359
|
+
var version = '4.68.7';
|
|
360
360
|
|
|
361
361
|
/**
|
|
362
362
|
* The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
|
|
@@ -7043,7 +7043,7 @@
|
|
|
7043
7043
|
}
|
|
7044
7044
|
};
|
|
7045
7045
|
TextareaComponent.prototype.ngAfterViewInit = function () {
|
|
7046
|
-
if (this.messageInput.nativeElement.scrollHeight > 0) {
|
|
7046
|
+
if (this.messageInput.nativeElement.scrollHeight > 0 && this.value) {
|
|
7047
7047
|
this.adjustTextareaHeight();
|
|
7048
7048
|
}
|
|
7049
7049
|
};
|
|
@@ -7055,7 +7055,7 @@
|
|
|
7055
7055
|
this.adjustTextareaHeight();
|
|
7056
7056
|
};
|
|
7057
7057
|
TextareaComponent.prototype.enterHit = function (event) {
|
|
7058
|
-
if (this.inputMode === 'desktop') {
|
|
7058
|
+
if (this.inputMode === 'desktop' && !event.isComposing) {
|
|
7059
7059
|
event.preventDefault();
|
|
7060
7060
|
this.send.next();
|
|
7061
7061
|
}
|
|
@@ -7251,7 +7251,7 @@
|
|
|
7251
7251
|
AutocompleteTextareaComponent.prototype.ngAfterViewInit = function () {
|
|
7252
7252
|
var _a, _b, _c;
|
|
7253
7253
|
(_c = (_b = (_a = this.chatClientService) === null || _a === void 0 ? void 0 : _a.chatClient) === null || _b === void 0 ? void 0 : _b.logger) === null || _c === void 0 ? void 0 : _c.call(_b, 'info', '[Autocomplete textarea] View inited');
|
|
7254
|
-
if (this.messageInput.nativeElement.scrollHeight > 0) {
|
|
7254
|
+
if (this.messageInput.nativeElement.scrollHeight > 0 && this.value) {
|
|
7255
7255
|
this.adjustTextareaHeight();
|
|
7256
7256
|
}
|
|
7257
7257
|
};
|
|
@@ -7285,7 +7285,7 @@
|
|
|
7285
7285
|
this.updateMentionedUsersFromText();
|
|
7286
7286
|
};
|
|
7287
7287
|
AutocompleteTextareaComponent.prototype.enterHit = function (event) {
|
|
7288
|
-
if (this.inputMode === 'desktop') {
|
|
7288
|
+
if (this.inputMode === 'desktop' && !event.isComposing) {
|
|
7289
7289
|
event.preventDefault();
|
|
7290
7290
|
this.updateMentionedUsersFromText();
|
|
7291
7291
|
this.send.next();
|