I am having problems applying transitions on my custom
components. So I decided to start from scratch with a stock panel
component and apply a transition to that then work my way up.
Unfortunately I can't even get that to work. Here is my code for
the panel and its transition... really basic but it just isn't
working. The panel simply dissapears without the fade effect. Any
The problem is the RemoveChild in the state. When you change
the state it immediately executes the RemoveChild and boom, your
Panel is gone.
Do you really want to remove the Panel in the new state?
That's OK, but if you don't need to remove it, don't bother. But
let's assume you do, what you want the transition to do is fade out
the Panel and THEN remove it. I think this will work: