fix(LinkPreviews): Fixing implicitHeight binding loop
Closing https://github.com/status-im/status-desktop/issues/10057
This commit is contained in:
parent
57467c65b8
commit
dfbaf9edbb
|
@ -15,10 +15,7 @@ import shared.popups 1.0
|
||||||
Control {
|
Control {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
implicitWidth: 270 // by design
|
implicitWidth: d.invitedCommunity ? 270 /*by design*/ : 0
|
||||||
implicitHeight: !d.invitedCommunity ? 0 : Math.max(implicitBackgroundHeight + topInset + bottomInset,
|
|
||||||
implicitContentHeight + verticalPadding)
|
|
||||||
|
|
||||||
padding: 1
|
padding: 1
|
||||||
|
|
||||||
property var store
|
property var store
|
||||||
|
|
Loading…
Reference in New Issue