angular / angular/components

[Tabs] Md-tab height: 100% does not give all height of group

Offen
#4,591 18 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: material/tabs help wanted P4
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

Hi,

I'm having problems to adjust content of a tab to 100% of height of md-tab-group

For example:

```
// this works all bk is blue
//not work

//with % not work, with px works

```
My problem is that `md-tab-group` expands his `height` to total of `height`. But the atribute `height` of `md-tab` doesn't fit to 100% of `md-tab-group`.

Because of that the content, even if I set the height to 100% it doesn't fit to 100% of `height`

If I set thet `height` attribute of the `

` to for example 500px it works correctly

I have this problem since I added `` to my index.html

Versions: Beta.5
Angular 4

What would be doing wrong?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, das Beispiel in index.html mit dem HTML doctype und dem Beta.5 Angular setup zu reproduzieren. Untersuche das Layoutverhalten von md-tab-group und md-tab bei prozentualen Höhen; abgeschlossen ist die Aufgabe, wenn der Tab-Inhalt die Höhe der Gruppe mithilfe von Prozentangaben statt einer festen Pixelhöhe ausfüllen kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, css, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

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