Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location property is not updated for parent when navigation changes children #428

Closed
platosha opened this issue Jan 28, 2020 · 0 comments · Fixed by #439
Closed

location property is not updated for parent when navigation changes children #428

platosha opened this issue Jan 28, 2020 · 0 comments · Fixed by #439
Assignees

Comments

@platosha
Copy link
Contributor

With the following URL mapping:

const routes = [
  {
    path: '',
    component: 'main-layout',
    children: [
      {path: 'dashboard', component: 'dashboard-view'},
      {path: 'masterdetail', component: 'master-detail-view'}
  }
];

When navigating from /dashboard to /masterdetail, the location in the main-layout is not updated with the new location.

This affects use cases involving reacting location changes, e. g., highlighting the active link in the menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants