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
Correct me if I am wrong, but it appears there is a bug with the canDeactivate lifecycle functions. They don't appear to be getting set when configured.
I narrowed this down to onRouteAdded(route). I manually added code for a if (route.canDeactivate) conditional, and things starting working as expected.
Meta details
Correct me if I am wrong, but it appears there is a bug with the
canDeactivate
lifecycle functions. They don't appear to be getting set when configured.I narrowed this down to
onRouteAdded(route)
. I manually added code for aif (route.canDeactivate)
conditional, and things starting working as expected.Let me know if this is correct and I'll try, and try to find some time to submit a pull-request with associated tests.
The text was updated successfully, but these errors were encountered: