maxs15 / maxs15/react-native-modalbox
Problems with full screen rendering
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 496
- PR merge metrics
- No merged PRs in 30d
Description
I can't get ModalBox to work properly. I want to have a bottom oriented Modal where the rest of the screen has a semi transparent backdrop. Kind of default. What I'm seeing is a transparent overlay and no backdrop. I'm not too familiar with this component. But it seems like the height is set to the enclosing component and the positioning set relative to that instead of to the entire screen. (the height parameter looks suspicious)
I apply it in a deeply nested structure.
I'm using RN 0.32. Any suggestions?
<Modal
isOpen={this.state.pickerVisible}
position="bottom"
style={{backgroundColor:'white'}}
>
{this.picker(field)}
</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 nested Modal example on React Native 0.32 and inspect how ModalBox calculates full-screen height, positioning, and the backdrop. Done means a bottom-oriented modal has a semi-transparent backdrop covering the entire screen, including when rendered in a deeply nested structure.
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
- 38/100