fix(CompactMessageView): disable hovering while scrolling

Fixes #6576
This commit is contained in:
Lukáš Tinkl 2022-07-25 14:43:05 +02:00 committed by Lukáš Tinkl
parent 84522bd7fe
commit 120f6517c9
3 changed files with 5 additions and 1 deletions

View File

@ -250,6 +250,7 @@ Item {
contactsStore: root.contactsStore
channelEmoji: root.channelEmoji
emojiPopup: root.emojiPopup
chatLogView: ListView.view
isActiveChannel: root.isActiveChannel
isChatBlocked: root.isChatBlocked

View File

@ -21,6 +21,7 @@ Item {
property var usersStore
property var contactsStore
property var chatLogView
property var emojiPopup
property var messageContextMenu
@ -736,7 +737,7 @@ Item {
}
HoverHandler {
enabled: !activityCenterMessage &&
enabled: !activityCenterMessage && !chatLogView.flickingVertically &&
(forceHoverHandler || (typeof root.messageContextMenu !== "undefined" && typeof Global.profilePopupOpened !== "undefined" &&
!root.messageContextMenu.opened && !Global.profilePopupOpened && !Global.popupOpened))
onHoveredChanged: {

View File

@ -40,6 +40,7 @@ Loader {
property string channelEmoji
property bool isActiveChannel: false
property var chatLogView
property var emojiPopup
// Once we redo qml we will know all section/chat related details in each message form the parent components
@ -332,6 +333,7 @@ Loader {
isActiveChannel: root.isActiveChannel
emojiPopup: root.emojiPopup
senderTrustStatus: root.senderTrustStatus
chatLogView: root.chatLogView
communityId: root.communityId
stickersLoaded: root.stickersLoaded