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
{{ message }}
Repository navigation
Modal route issue - route runs twice when returning from second modal containing route outlet #96
In iOS, if you follow the steps (they're numbered) you'll see that when you navigate back on step five, the animation runs twice—backwards then forwards. This appears to come from the shouldDetach method NSRouteReuseStrategy. If I use the previous code for shouldDetatch that was altered here:
NOTE: For this demo, I've used 14.2.6-alpha.0 because without it, I can't use modals with ModalDialogParams because of injector scope issues. However, this router problem described above also occurs in 14.2.5 when the modal corrections are in place. Either way, something isn't working as it should.
changed the title [-]Route runs twice when returning from [/-][+]Route runs twice when returning from second modal containing route outlet[/+]on Nov 3, 2022
changed the title [-]Route runs twice when returning from second modal containing route outlet[/-][+]Modal route issue - route runs twice when returning from second modal containing route outlet[/+]on Nov 3, 2022
Activity
[-]Route runs twice when returning from [/-][+]Route runs twice when returning from second modal containing route outlet[/+][-]Route runs twice when returning from second modal containing route outlet[/-][+]Modal route issue - route runs twice when returning from second modal containing route outlet[/+]Theo-Sioris commentedon Jan 13, 2023
We also have the exact same problem.
Rolling back to Angular 14 is the bandaid that did the job for now