From ca9063638433af90c2f5b6bca2917942ead5144e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Tue, 6 Feb 2024 17:12:45 +0100 Subject: [PATCH] fix(ManageHiddenPanel): Disable displace Transition to fix positioning on unhiding When removing the top-most item from the list, animation was ending with improper delegates' positioning. No workaround found, transition disabled. Closes: #13392 --- ui/app/AppLayouts/Wallet/panels/ManageHiddenPanel.qml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/app/AppLayouts/Wallet/panels/ManageHiddenPanel.qml b/ui/app/AppLayouts/Wallet/panels/ManageHiddenPanel.qml index 0e9bd7e570..44044ffaa6 100644 --- a/ui/app/AppLayouts/Wallet/panels/ManageHiddenPanel.qml +++ b/ui/app/AppLayouts/Wallet/panels/ManageHiddenPanel.qml @@ -205,9 +205,13 @@ Control { model: d.sfpm - displaced: Transition { - NumberAnimation { properties: "x,y"; easing.type: Easing.OutQuad } - } + // For some reason displaced transition doesn't work correctly in + // combination of delegate using Loader and leads to improper + // delegates positioning when the top-most item from the list is + // removed. + //displaced: Transition { + // NumberAnimation { properties: "x,y" } + //} delegate: Loader { required property var model