You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OnLoaded in combination with DoubleTransition can be used for a fade-in animation when a popup/dropdown is brought into view. How would I achieve the reverse when the control is unmounted? Setting opacity to 0 in OnUnLoaded unsurprisingly has no effect and the control immediately disappears.
The TransitioningContentControl wrapper with CrossFade does what I need, but it has 2 drawbacks.
You might need to create custom animation classes instead of making use of simple property value transitions
You need to keep TransitioningContentControl in every place where a control with (un)mount animation is expected
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
OnLoaded
in combination withDoubleTransition
can be used for a fade-in animation when a popup/dropdown is brought into view. How would I achieve the reverse when the control is unmounted? Setting opacity to 0 inOnUnLoaded
unsurprisingly has no effect and the control immediately disappears.The
TransitioningContentControl
wrapper withCrossFade
does what I need, but it has 2 drawbacks.TransitioningContentControl
in every place where a control with (un)mount animation is expectedBeta Was this translation helpful? Give feedback.
All reactions