mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 19:34:25 +08:00
FIX: correctly reset active message on destroy (#23844)
It should prevent any message action to still show after a transition while hovering a message (eg: link to channel settings from a message).
This commit is contained in:
parent
2ac2c846bc
commit
f13f2fecfe
@ -313,6 +313,7 @@ export default class ChatMessage extends Component {
|
|||||||
cancel(this._makeMessageActiveHandler);
|
cancel(this._makeMessageActiveHandler);
|
||||||
cancel(this._debounceDecorateCookedMessageHandler);
|
cancel(this._debounceDecorateCookedMessageHandler);
|
||||||
this.#teardownMentionedUsers();
|
this.#teardownMentionedUsers();
|
||||||
|
this.chat.activeMessage = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
Loading…
x
Reference in New Issue
Block a user