column.verticalUnderflow = .spaceEvenly in scrollable not working
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 707
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided Column example with verticalUnderflow set to .spaceEvenly and a scrollable(.fittingHeight) container. Then trace the Column underflow and scrollable layout behavior to determine why flexible space is not inserted between Element1 and Element2. Done means the example distributes underflow space evenly while retaining the requested scrolling and content inset behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100