diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/CompactMessage.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/CompactMessage.qml index 26c9c96cb2..61f9621f0d 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/CompactMessage.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/CompactMessage.qml @@ -238,6 +238,7 @@ Item { } HoverHandler { + enabled: !messageContextMenu.opened && !profilePopupOpened onHoveredChanged: { root.isHovered = hovered; } diff --git a/ui/app/AppLayouts/Chat/ChatLayout.qml b/ui/app/AppLayouts/Chat/ChatLayout.qml index cfaf5d1fa5..0564db7387 100644 --- a/ui/app/AppLayouts/Chat/ChatLayout.qml +++ b/ui/app/AppLayouts/Chat/ChatLayout.qml @@ -13,6 +13,7 @@ SplitView { property alias chatColumn: chatColumn property bool stickersLoaded: false + property bool profilePopupOpened: false Connections { target: chatsModel.stickers @@ -109,6 +110,7 @@ SplitView { popup.parentPopup = parentPopup; } popup.openPopup(profileModel.profile.pubKey !== fromAuthorParam, userNameParam, fromAuthorParam, identiconParam, textParam, nicknameParam); + profilePopupOpened = true } property Component profilePopupComponent: ProfilePopup { @@ -118,6 +120,7 @@ SplitView { if(profilePopup.parentPopup){ profilePopup.parentPopup.close(); } + profilePopupOpened = false destroy() } }