maxs15 / maxs15/react-native-modalbox
SafeAreaView with coverscreen
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 496
- PR merge metrics
- No merged PRs in 30d
Description
When coverscreen prop is specified, SafeAreaView inside the modal does not work.
<Modal
onClosed={onClosed}
isOpen={true}
position="bottom"
coverScreen={true}
style={{ height: 500 }}
>
<SafeAreaView style={composeStyles("occupy")}>
...Other code...
</SafeAreaView>
</Modal>
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 example with Modal using coverScreen={true}, position="bottom", and the nested SafeAreaView. Inspect how the modal's cover-screen behavior interacts with SafeAreaView on the affected platform; done means the SafeAreaView applies its insets correctly inside the modal. No source file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100