akveo / akveo/nebular

NbSelectComponent closing immediately inside NbTreeGridComponent

未关闭
#1,968 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug module:components needs triage
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### NbSelectComponent closing immediately inside NbTreeGridComponent

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

* [x] bug report
* [ ] feature request

### Issue description

**Current behavior:**
Embedding an `NbSelectComponent` within a cell of an `NbTreeGridComponent` results in the select's menu closing immediately after it has been opened.

**Expected behavior:**
The select's menu should stay open.

**Steps to reproduce:**
Place an `NbSelectComponent` within a cell of `NbTreeGridComponent`.

**Related code:**
https://stackblitz.com/edit/nb-tree-grid-select

![example](https://i.imgur.com/ykbebjx.gif)

**Workaround**

```html

```

```ts
onSelectClicked(select: NbSelectComponent, event: MouseEvent) {
event.stopPropagation();
select.show();
}
```

**Angular, Nebular**
```
"@angular/core": "^8.2.7"
"@nebular/theme": "^4.3.0"
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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