BottomNav integration with router outlet is not considering guards and updates UI incorrectly #7009
Labels
bottom-nav
Bottom navigation component
🐛 bug
Any issue that describes a bug
🧨 severity: medium
version: 8.2.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When using guards (canActivate or canDeactivate), the bottom nav updates the UI according to which tab(url) the user clicked even though the guard blocked that path.
NOTE: This scenario is already fixed for igx-tabs component #6845.
Steps to reproduce
Result
The UI is highlighted on the "Canceled" tab, but the view does not show its contents
Expected result
Since the url is blocked by the guard, the UI tab should be updated to the current url.
The text was updated successfully, but these errors were encountered: