FIX: makes mouse events passive (#21441)

This commit is contained in:
Joffrey JAFFEUX 2023-05-09 08:03:03 +02:00 committed by GitHub
parent 9c39053d6f
commit 3bc5c0ad18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")