fix(LinkPreviews): Fixing implicitHeight binding loop

Closing https://github.com/status-im/status-desktop/issues/10057
This commit is contained in:
Alex Jbanca 2023-03-28 17:52:34 +03:00 committed by Alex Jbanca
parent 57467c65b8
commit dfbaf9edbb
1 changed files with 1 additions and 4 deletions

View File

@ -15,10 +15,7 @@ import shared.popups 1.0
Control {
id: root
implicitWidth: 270 // by design
implicitHeight: !d.invitedCommunity ? 0 : Math.max(implicitBackgroundHeight + topInset + bottomInset,
implicitContentHeight + verticalPadding)
implicitWidth: d.invitedCommunity ? 270 /*by design*/ : 0
padding: 1
property var store