akveo / akveo/nebular

How to keep menu open while navigating to child pages.

未关闭
#1,850 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [ X ] feature request

### Issue description
I am trying to navigate inside menu option and details page, it should keep it open when going inside details page..

**Current behavior:**
The menu collapses

**Expected behavior:**
the menu to be open.

**Steps to reproduce:**

```
export const DASHBOARD_ITEMS: NbMenuItem[] = [
{
title: 'Home',
icon: 'nb-home',
link: '/home/dashboard/home',
home: true,
}];

@Component({
selector: 'ngx-admin-dashboard',
template: `




`,
})

```

example if i hit route '/home/dashboard/home/info' it marks home inactive.

### Other information:

NPM 6.4.1
Node 10.15.1
os linux mint 18.3,
browser chrome.

**Angular 5, Nebular 2.00rc**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。