akveo / akveo/nebular

NbOptionList independent width

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

描述

### Issue type
* [x] bug report
* [x] feature request

### Issue description

![Capture](https://user-images.githubusercontent.com/6523466/80830204-f5140b00-8bbe-11ea-944d-95e14d422294.PNG)

**Current behavior:**
```javascript
/**
* Returns width of the select button.
* */
get hostWidth(): number {
return this.button.nativeElement.getBoundingClientRect().width;
}
```
```html

```

is it possible to leave the size of the options as auto?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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