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
Describe the bug
Navigation stuck after navigating from a page with clearHistory: true
If we have 3 pages A, B, C when navigating from Page A to page B with clearHistory: true then trying to navigate to page C this error occurs ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'peekState' of undefined after debugging I found that it's due too not founding an outlet inside when calling the function getOutletByFrame inside ns-location-strategy.js file, so there should be a default outlet if there's no matching outlet.
To Reproduce
Create fresh Angular 9 project and create 3 pages as mentioned
Pull request attached to fix this issue
The text was updated successfully, but these errors were encountered:
Environment
Describe the bug
Navigation stuck after navigating from a page with
clearHistory: true
If we have 3 pages A, B, C when navigating from Page A to page B with
clearHistory: true
then trying to navigate to page C this error occursERROR Error: Uncaught (in promise): TypeError: Cannot read property 'peekState' of undefined
after debugging I found that it's due too not founding an outlet inside when calling the functiongetOutletByFrame
insidens-location-strategy.js
file, so there should be a default outlet if there's no matching outlet.To Reproduce
Create fresh Angular 9 project and create 3 pages as mentioned
Pull request attached to fix this issue
The text was updated successfully, but these errors were encountered: