maxs15 / maxs15/react-native-modalbox

backdrop does not cover the the navigation bar

Open
#68 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.9k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

more detail issue at : http://stackoverflow.com/questions/37741689/backdrop-does-not-cover-the-the-navigation-bar-for-react-native-modalbox

This component works great until I use it inside the Navigator. But If this component is used inside the Navigator Component, then the model presented does not cover the navigation bar, where as the alert does cover it.
`render: function() {
var modalView =

  <Button onPress={this.openModal3} style={styles.btn}>Position centered + backdrop + disable</Button>

  <Modal style={[styles.modal, styles.modal3]} position={"center"} ref={"modal3"} isDisabled={this.state.isDisabled}>
    <Text style={styles.text}>Modal centered</Text>
    <Button onPress={this.toggleDisable} style={styles.btn}>Disable ({this.state.isDisabled ? "true" : "false"})</Button>
  </Modal>

</View>
return (
  <NavigatorIOS style ={{flex:1}}
  ref={'nav'}

  initialRoute={{
    component: ()=> modalView,
    title:'Photoos.Net',
    passProps:{ name: this.props.title},

  }}/>
); }});`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproduction in the issue body and the linked Stack Overflow report, focusing on the Modal used inside NavigatorIOS. Confirm how the backdrop behaves when the modal is rendered through navigation. Done means reproducing the case and making the backdrop cover the navigation bar without breaking the shown modal behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.