Open ilajosmanov opened 2 months ago
Hi, thanks for using Ignis!
This might actually be a bug you encountered, I will have to test this properly.
Does it work for you if you render the transition as a Fragment
like this:
<Transition AsComponent="typeof(Fragment)">
<Dialog />
</Transition>
Sorry for confusion, but yes - my code looks like here:
<Transition Appear="@Appear" Show="IsOpen" AsComponent="typeof(Fragment)" Context="_" />
it still doesn't work. Let me know if I can provide more details.
If you could provide an example repository where you reproduce this behavior it would be really helpful!
Don't worry! I could fix it.
I put <DialogOutlet />
into component (like header for example) with @rendermode InteractiveAuto
and then it works.
p.s If your app isn't InteractiveAuto globally, you shouldn't put it into <App.razor/>
. I think, it should be added to the docs. (I'm new, so it wasn't so obvious). If you want - I can make a PR :)
Interesting! Thanks for the analysis. I will have a deeper look into this to understand exactly what the problem here is and then either fix it or document it as you described!
Hi! Thank you so much for this library, very useful!
I've found some issue, when use
<Dialog />
component wrapped byTransition
. Dialog appears in the place where it was created but not inside DialogOutlet itself. Am I doing something wrong?Code example: