akveo / akveo/nebular

nb-select doesn't reduce its width to fit parent

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

描述

### Issue type

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

* [X] bug report
* [ ] feature request

### Issue description

**Current behavior:**
Whenever I try to set the width of the component, it overlaps the width of the parent.

**Expected behavior:**
I expect the component to reduce its width to fit inside the table cell.

**Steps to reproduce:**

I try to use the component nb-select inside a cell of a table. When I do that, I expect the select to reduce its width to fit the one I have assigned to the column of the table, but it's not working.

**Related code:**

https://stackblitz.com/edit/github-htqxzp-ex4sxz?file=src/app/home/home.component.html

![Captura](https://user-images.githubusercontent.com/51294654/98336209-7e742200-1fd4-11eb-98ff-96d27c299aab.PNG)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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