mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +08:00
FIX: makes mouse events passive (#21441)
This commit is contained in:
@ -14,9 +14,9 @@
|
|||||||
{{on "touchmove" this.handleTouchMove passive=true}}
|
{{on "touchmove" this.handleTouchMove passive=true}}
|
||||||
{{on "touchstart" this.handleTouchStart passive=true}}
|
{{on "touchstart" this.handleTouchStart passive=true}}
|
||||||
{{on "touchend" this.handleTouchEnd passive=true}}
|
{{on "touchend" this.handleTouchEnd passive=true}}
|
||||||
{{on "mouseenter" this.onMouseEnter}}
|
{{on "mouseenter" this.onMouseEnter passive=true}}
|
||||||
{{on "mouseleave" this.onMouseLeave}}
|
{{on "mouseleave" this.onMouseLeave passive=true}}
|
||||||
{{on "mousemove" this.onMouseMove}}
|
{{on "mousemove" this.onMouseMove passive=true}}
|
||||||
class={{concat-class
|
class={{concat-class
|
||||||
"chat-message-container"
|
"chat-message-container"
|
||||||
(if this.pane.selectingMessages "selecting-messages")
|
(if this.pane.selectingMessages "selecting-messages")
|
||||||
|
Reference in New Issue
Block a user