title: Modal not displaying in react-native?
body: <p>Hey guys i am trying to show modal on click of map marker but i fail to see any modal on marker click can anybody help me out what is the issue. I am using Modal from <a href="https://github.com/maxs15/react-native-modalbox" rel="nofollow noreferrer">https://github.com/maxs15/react-native-modalbox</a></p>
  
  <p>Here is the code:</p>
  
  <pre><code> import Modal from "react-native-modalbox";
  
  export default class App {
  openModal4(id) {
      this.refs.modal4.open();
  }
  render() {
      return (
          &lt;View style={style.mainContainer}&gt;
              &lt;MapView
                  ref="map"
                  showUserLocation={true}
                  region={this.state.region}
                  onRegionChange={this.onRegionChange}
                  onRegionChangeComplete={this.onRegionChangeComplete}
                  style={styles.map}
                  rotateEnabled={false}
                  showsCompass={false}
              &gt;
                  {this.state.markers.map(function(marker) {
                      return (
                          &lt;MapView.Marker
                              coordinate={marker.latlng}
                              key={marker.id}
                              onPress={this.openModal4}
                          /&gt;
                      );
                  })}
              &lt;/MapView&gt;
              &lt;View
                  style={{
                      position: "absolute",
                      width: windowsWidth,
                      height: windowsHeight - 100,
                      alignItems: "center",
                      justifyContent: "center"
                  }}
              &gt;
                  &lt;Image source={require("./assets/map-marker.png")} /&gt;
              &lt;/View&gt;
              &lt;Modal
                  style={[styles.modal, styles.modal4]}
                  position={"bottom"}
                  ref={"modal4"}
              /&gt;
          &lt;/View&gt;
      );
  }
  }
  </code></pre>
  
  <p>can anybody help me out? Thanks in advance.</p>