A platform for community discussion. Free, open, simple.
FIX: safeguard in case the message is active during transition (#21235)
Joffrey JAFFEUXa052ecee62bb
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.js b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.jsindex 5cf220165a9..3bba9d6d83c 100644--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.js+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.js@@ -45,6 +45,10 @@ export default class ChatMessageActionsDesktop extends Component {this.context);+ if (!messageContainer) {+ return;+ }+this.popper = createPopper(messageContainer, element, {placement: "top-end",strategy: "fixed",