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 0c4ded4 + 39bdfaf commit f192929Copy full SHA for f192929
projects/stream-chat-angular/src/lib/message/message.component.ts
@@ -291,11 +291,7 @@ export class MessageComponent
291
}
292
this.subscriptions.push(
293
this.messageActionsService.messageMenuOpenedFor$.subscribe((id) => {
294
- if (this.message && this.message.id === id) {
295
- if (!this.areMessageOptionsOpen) {
296
- this.messageMenuTrigger?.show();
297
- }
298
- } else if (
+ if (
299
(id === undefined || this.message?.id !== id) &&
300
this.areMessageOptionsOpen
301
) {
0 commit comments