Skip to content

A platform for community discussion. Free, open, simple.

FIX: makes mouse events passive (#21441)

Joffrey JAFFEUX3bc5c0ad181c
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message.hbs b/plugins/chat/assets/javascripts/discourse/components/chat-message.hbs
index b28891bbe1e..3fe9113117f 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-message.hbs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message.hbs
@@ -14,9 +14,9 @@
{{on "touchmove" this.handleTouchMove passive=true}}
{{on "touchstart" this.handleTouchStart passive=true}}
{{on "touchend" this.handleTouchEnd passive=true}}
- {{on "mouseenter" this.onMouseEnter}}
- {{on "mouseleave" this.onMouseLeave}}
- {{on "mousemove" this.onMouseMove}}
+ {{on "mouseenter" this.onMouseEnter passive=true}}
+ {{on "mouseleave" this.onMouseLeave passive=true}}
+ {{on "mousemove" this.onMouseMove passive=true}}
class={{concat-class
"chat-message-container"
(if this.pane.selectingMessages "selecting-messages")