Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

column.verticalUnderflow = .spaceEvenly in scrollable not working #179

Open
c-villain opened this issue Nov 5, 2020 · 0 comments
Open

Comments

@c-villain
Copy link

let column = Column { column in
column.verticalUnderflow = .spaceEvenly
column.add(child: Element1())
column.add(child: Element2(){
}.box(clipsContent: true).constrainedTo(width: .absolute(343), height: .absolute(48))
)}.scrollable(.fittingHeight){
$0.alwaysBounceVertical = true
$0.contentInset = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16)
}

Here no flexible space added between two childs: Element1() and Element2() but column.verticalUnderflow = .spaceEvenly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant