title: Button and TouchableOpacity don't react on onPress events
body: <p>I have the following code:</p>
  
  <pre><code>import React, {Component} from 'react';
  import {Platform, ScrollView, StyleSheet, Text, TextInput, TouchableOpacity, View,} from 'react-native';
  import {Alert} from "react-native-web";
  
  
  export default class HomeScreen extends Component {
  
      state = {text: ''};
  
      _onPressSearch() {
          Alert.alert("Button pressed!")
      }
  
      render() {
          return (&lt;View style={styles.container}&gt;
              &lt;ScrollView style={styles.scrollViewContainer} contentContainerStyle={styles.contentContainer}&gt;
                  &lt;View style={styles.searchContainer}&gt;
  
                      &lt;TextInput placeHolder="Type something!" onChangeText={(text) =&gt; this.setState({text})}
                                 value={this.state.text}/&gt;
  
                  &lt;/View&gt;
  
                  &lt;TouchableOpacity
                      onPress={this._onPressSearch}&gt;
                      &lt;View&gt;
  
                          &lt;Text&gt;Search&lt;/Text&gt;
  
                      &lt;/View&gt;
                  &lt;/TouchableOpacity&gt;
  
                  &lt;View style={styles.listContainer}&gt;
  
                      &lt;Text&gt;{this.state.text}&lt;/Text&gt;
  
                  &lt;/View&gt;
  
  
  
              &lt;/ScrollView&gt;
  
  
          &lt;/View&gt;
  </code></pre>
  
  <p>And my problem is that when I click on TouchableOpacity no action happens (in my case showing alert). I tried to change ToachableOpacity and View combination to usual button but nothing happened again. So, what's the problem and how can I solve it?</p>