min-height seems to product an incorrect size
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 18.9k
- Forks
- 1.6k
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Report
- I have searched existing issues and this is not a duplicate
Issues and Steps to Reproduce
<Layout config={{useWebDefaults: false}}>
<Node style={{width: 350, height: 200, padding: 20}}>
<Node style={{height: 60}}>
<Node style={{minHeight: "100%"}} />
</Node>
</Node>
</Layout>
Expected Behavior
The height of third node(minHeight:"100%") equals 60
Actual Behavior
The height of third node(minHeight:"100%") is 160
Link to Code
When applicable, use this fiddle to post a web repro.
Contributor guide
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 with the linked Yoga playground reproduction and verify the reported case with useWebDefaults disabled. Trace how the nested node's minHeight of 100% is resolved, and consider the issue complete when that node measures 60 rather than 160 for the supplied layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100