title: React native IOS InputAccessoryView disappear from the screen after close modal
body: <p>When I have on my screen InputAccessoryView which has component without nativeID (So it is constantly showing even if the keyboard is not shown) and I open and close Modal (react-native modal) then InputAccessoryView disappear from the screen with the component. I don't know why this is happening and also I don't know how to keep this InputAccessoryView on the screen.</p>
  
  <p>Here is the code to reproduce it:</p>
  
  <pre><code>import * as React from 'react';
  import { View, ScrollView, AppRegistry, TextInput, InputAccessoryView, Button } from 'react-native';
  import {Modal, Text, TouchableHighlight, Alert} from 'react-native';
  import Constants from 'expo-constants';
  
  export default class App extends React.Component {
  
  constructor(props) {
      super(props);
      this.state = {text: 'Placeholder Text', modalVisible: false,};
    }
  
    setModalVisible(visible) {
      this.setState({modalVisible: visible});
    }
  
    render() {
      return (
        &lt;View style={{flex:1}}&gt;
          &lt;Modal
            animationType="slide"
            transparent={false}
            visible={this.state.modalVisible}
            onRequestClose={() =&gt; {
              Alert.alert('Modal has been closed.');
            }}&gt;
            &lt;View style={{marginTop: 22, padding: 50, backgroundColor: '#0066ff'}}&gt;
              &lt;View&gt;
                &lt;TouchableHighlight
                  onPress={() =&gt; {
                    this.setModalVisible(!this.state.modalVisible);
                  }}&gt;
                  &lt;Text style={{color:"#ffffff"}}&gt;Hide Modal&lt;/Text&gt;
                &lt;/TouchableHighlight&gt;
              &lt;/View&gt;
            &lt;/View&gt;
          &lt;/Modal&gt;
  
  
          &lt;ScrollView style={{ backgroundColor: '#6ED4C8'}}&gt;
           &lt;Text&gt;&lt;/Text&gt;
            &lt;TouchableHighlight
            onPress={() =&gt; {
              this.setModalVisible(true);
            }}&gt;
            &lt;Text style={{padding: 40, backgroundColor: "#ff3300"}}&gt;Show Modal&lt;/Text&gt;
          &lt;/TouchableHighlight&gt;
          &lt;/ScrollView&gt;
          &lt;InputAccessoryView backgroundColor="#ff9900" &gt;
             &lt;TextInput
              style={{
                padding: 20,
                paddingTop: 50,
              }}
              onChangeText={text =&gt; this.setState({text})}
              value={this.state.text}
            /&gt;
          &lt;/InputAccessoryView&gt;
        &lt;/View&gt;
      );
    }
  }
  </code></pre>
  
  <p>Here you can find the online version (Keep in mind that the issue is only relevant for IOS): 
  <a href="https://snack.expo.io/SJB7ipm6B" rel="noreferrer">https://snack.expo.io/SJB7ipm6B</a></p>
  
  <p>Some Images:</p>
  
  <p><a href="https://i.stack.imgur.com/i1ZUZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/i1ZUZ.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/zRwjz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zRwjz.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/C56It.png" rel="noreferrer"><img src="https://i.stack.imgur.com/C56It.png" alt="enter image description here"></a></p>
  
  <p>Thank you for your time and your help!</p>