diff --git a/resources/qml/MobileMessageContextPopup.qml b/resources/qml/MobileMessageContextPopup.qml index fa603d52..e517914e 100644 --- a/resources/qml/MobileMessageContextPopup.qml +++ b/resources/qml/MobileMessageContextPopup.qml @@ -13,11 +13,11 @@ Item { function show(attachment, messageModel) { attached = attachment model = messageModel - state = "shown" + popupRoot.state = "shown" } function hide() { - state = "hidden" + popupRoot.state = "hidden" attached = undefined model = undefined } @@ -246,7 +246,7 @@ Item { FastBlur { id: overlay anchors.fill: parent - source: timelineRoot + source: timelineLayout radius: 50 z: popupBottomBar.z - 1 visible: false diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index ad3f9518..adbe2661 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -227,7 +227,7 @@ Item { } Item { - Layout.fillHeight: true + Layout.fillHeight: tru } } @@ -272,5 +272,12 @@ Item { target: room } + MobileMessageContextPopup { + id: mobileContextPopup + + visible: false + anchors.fill: parent + } + } -} +