remove height animation to prevent jump on reposition

Height animation breaks when popup auto repositions from down to up. Simple fade animation works smoothly regardless of direction.
This commit is contained in:
Pico
2025-11-09 00:23:44 +03:00
parent fa6a4e8543
commit 96e4ca1095
@@ -110,14 +110,7 @@ ComboBox {
property: "opacity" property: "opacity"
from: 0 from: 0
to: 1 to: 1
duration: 200 duration: 150
easing.type: Easing.OutCubic
}
NumberAnimation {
property: "height"
from: 0
to: popup.height
duration: 200
easing.type: Easing.OutCubic easing.type: Easing.OutCubic
} }
} }
@@ -127,14 +120,7 @@ ComboBox {
property: "opacity" property: "opacity"
from: 1 from: 1
to: 0 to: 0
duration: 150 duration: 100
easing.type: Easing.InCubic
}
NumberAnimation {
property: "height"
from: popup.height
to: 0
duration: 150
easing.type: Easing.InCubic easing.type: Easing.InCubic
} }
} }