We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e7b8f5 + baa52b8 commit ecae316Copy full SHA for ecae316
projects/stream-chat-angular/src/lib/message/message.component.ts
@@ -292,11 +292,7 @@ export class MessageComponent
292
}
293
this.subscriptions.push(
294
this.messageActionsService.messageMenuOpenedFor$.subscribe((id) => {
295
- if (this.message && this.message.id === id) {
296
- if (!this.areMessageOptionsOpen) {
297
- this.messageMenuTrigger?.show();
298
- }
299
- } else if (
+ if (
300
(id === undefined || this.message?.id !== id) &&
301
this.areMessageOptionsOpen
302
) {
0 commit comments