mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-20 10:38:47 +00:00
fix(StatusTextMessage): Links not clickable in a long collapsed message
Setting `visible` or `enabled` to `false` stops mouse events from being propagated -> hide the original message using `opacity` instead Fixes links being unclickable when the gradient/mask is in effect Closes #8116
This commit is contained in:
parent
0cf2c9c8da
commit
e687dad3c7
@ -63,7 +63,7 @@ Item {
|
||||
|
||||
width: parent.width
|
||||
height: effectiveHeight + d.showMoreHeight / 2
|
||||
visible: !opMask.active
|
||||
opacity: opMask.active ? 0 : 1
|
||||
clip: true
|
||||
text: d.text
|
||||
selectedTextColor: Theme.palette.directColor1
|
||||
@ -87,7 +87,7 @@ Item {
|
||||
Loader {
|
||||
id: mask
|
||||
anchors.fill: chatText
|
||||
active: showMoreLoader.active
|
||||
active: showMoreLoader.active && !d.readMore
|
||||
visible: false
|
||||
sourceComponent: LinearGradient {
|
||||
start: Qt.point(0, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user