As you can see when I go from /surveys to /surveys/4 for example, there is no animation. If I go from /surveys/4/components/8 I get animation. I believe because I have to use SurveyRouterOutlet it doesn’t quite work the same as going directly to the component. How can this be fixed or how can I have those same routes in a different way?
Hmmm… I tried doing the routes like that and it was not resolving properly. Let me try it again, if it’s acting funky I’ll record a video and post here.
Well that worked! I swear that was my first choice and what ended up happening was other Components were picking up the route. Does order matter in this object? Either way, glad to see it’s resolved and I’m doing it right this time! Thanks!
I don’t see specifics of how Vue does route matching in the documentation but typically you want the most specific first if there were possible matches as most router logic starts at the top and stops on the first match (from my experience at least in .NET and Laravel). In your case, it shouldn’t matter.
Also make note of this issue that may or may not be related. It is fixed in Ionic 6.