akveo / akveo/nebular

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

Offen
#2,586 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
8.1k
Forks
1.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.