maxs15 / maxs15/react-native-modalbox
Size modal to content
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 496
- PR merge metrics
- No merged PRs in 30d
Description
I've had trouble sizing the modal to the content. The modal's behavior is to take up the entire screen if no size is passed in. Otherwise if a size is passed in, it's fixed to that size instead of growing/shrinking to accommodate the content. Have also tried flexGrow and flexShrink.
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 locating the modal sizing implementation in the React Native component and reproduce the behavior described for omitted and explicit sizes. Compare the rendered modal dimensions with its content and verify that the modal can grow or shrink to fit content without losing explicit sizing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100