akveo / akveo/nebular

nb-menu does not expand on initial load

Abierto
#2,299 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
8.1k
Forks
1.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Issue type

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

* [X] bug report
* [ ] feature request

### Issue description

**Current behavior:**
The nb-menu does not expand properly on initial load. Passing the mouse over it will open it.

**Expected behavior:**
Previous version 4.x, opened the nb-menu properly on initial load.

**Steps to reproduce:**
```
items: NbMenuItem[] = [
{
title: 'Test 1',
link: '/areas',
children: [
{
title: 'Test 1.1',
link: '/areas/login',
}
],
},
{
title: 'Test 2',
link: '/controls',
children: [
{
title: 'Test 2.1',
link: '/controls/login',
}
]
}
];

```
Load the browser on a page like /area/login
It first starts like this:
![image](https://user-images.githubusercontent.com/808649/77685107-23ffe700-6f58-11ea-9599-bcc5f06e4b0e.png)

Then pass your mouse over the nb-menu, and you get this:
![image](https://user-images.githubusercontent.com/808649/77685131-324e0300-6f58-11ea-88dd-190eca2efe5b.png)

### Other information:

**npm, node, OS, Browser**
```
Node: v12.3.1
Npm: 6.9.0
```

**Angular, Nebular**
```
Angular: 9.1.0
CDK: 9.2.0
Nebular: 5.0.0
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.