title: react native modal close with swipe down (react-native-swipe-gestures)
body: <p>I am making a modal opening and closing using the swipe gesture(react-native-swipe-gestures).<br>
  But It doesn't work any swipe when Modal is Visible.<br>
  I want that Modal can close with swipe down.<br>
  Does it any solution?</p>
  <pre><code>import React from 'react';
  import { ... } from 'react-native';
  import GestureRecognizer from 'react-native-swipe-gestures';
  
  export default class SwipeModal extends Component {
  
   state = {
    modalVisible: false
   }
  
   setModalVisible = (visible) =&gt; {
    this.setState({ modalVisible: visible });
   }
  
   render() {
    const { modalVisible } = this.state;
    return (
     &lt;View&gt;
      &lt;Modal 
       animationType=&quot;slide&quot;
       presentationStyle=&quot;formSheet&quot;
       visible={ modalVisible }
      &gt;
       &lt;GestureRecognizer
        onSwipeDown={ () =&gt; this.setModalVisible(!modalVisible) }
       &gt;
        &lt;Text&gt;Swipe Down Please&lt;/Text&gt;
       &lt;/GestureRecognizer&gt;
      &lt;/Modal&gt;
      &lt;GestureRecognizer
        onSwipeUp={ () =&gt; this.setModalVisible(true) }
       &gt;
        &lt;Text&gt;Swipe Up Please&lt;/Text&gt;
       &lt;/GestureRecognizer&gt;
     &lt;/View&gt;
    )
  }
  
  ...
  </code></pre>