Skip to content

[Ionic v4] Set ion-scroll div.scroll-inner height to 100% #14996

@peterpeterparker

Description

@peterpeterparker

Ionic Info
@ionic/angular: "4.0.0-beta.1"

Describe the Feature Request
I would like to set the height of ion-scroll div.scroll-inner to 100% like it's content parent

Without adding this, it would not possible to add children to an ion-scroll with relative height in percent (see screenshots)

Screenshots

capture d ecran 2018-08-02 a 16 40 04

capture d ecran 2018-08-02 a 16 40 12

Update

At first I thought this should be solved with a new variable but actually setting height: 100% solves it

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions