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
This commit is contained in:
Michał Cieślak 2024-02-06 17:12:45 +01:00 committed by Michał
parent 7b302c07ef
commit ca90636384
1 changed files with 7 additions and 3 deletions

View File

@ -205,9 +205,13 @@ Control {
model: d.sfpm model: d.sfpm
displaced: Transition { // For some reason displaced transition doesn't work correctly in
NumberAnimation { properties: "x,y"; easing.type: Easing.OutQuad } // 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 { delegate: Loader {
required property var model required property var model