title: unable to select item from react-native-dropdown-picker
body: <p>am using React-native-dropdown-picker, however am unable to select any item from the dropdown list, the items are being overlapped by the below view.
  I have tried adding position:'absolute, zIndex:2 but still the itemlist is being overlapped as follows:
  <a href="https://i.stack.imgur.com/3vkOv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3vkOv.png" alt="enter image description here" /></a></p>
  <p>I have written the code for dropdown component as follows</p>
  <pre><code> return (
      &lt;View&gt;
        &lt;View style={styles.container}&gt;
          {console.log('new array', dateArr)}
          {console.log('arr', arr)}
          &lt;Icon
            name=&quot;arrow-left&quot;
            size={20}
            color=&quot;#fff&quot;
            style={{marginTop: 12}}
          /&gt;
          {console.log('----------date', dateArr)}
          {dateArr != null &amp;&amp; (
            &lt;DropDownPicker
              onValueChange={(value) =&gt; onValSelect(value)}
              items={dateArr}
              itemStyle={{
                // justifyContent: 'flex-start',
                flexDirection:'row'
              }}
              
              containerStyle={{height: 40,width:'80%',zIndex:2}}
            /&gt;
          )}
         
        &lt;/View&gt;
        &lt;DaysInAWeek daysInAWeek={daysInAWeek} /&gt;
      &lt;/View&gt;
    );
  }
  const styles = StyleSheet.create({
    container: {
      backgroundColor: '#FE017E',
      // height: 56,
      width: '100%',
      flexDirection: 'row',
      padding: 10,
    },
  });
  </code></pre>
  <p>onValSelect() is as follows:</p>
  <pre><code> function onValSelect(val) {
      if (val.length &gt; 1) {
        let arr = [];
        for (let i = val[0]; i &lt;= val[1]; i += 86400000) {
          let date = getMonthDate(new Date(i));
          arr.push(date);
        }
  
        console.log('final arr', arr);
        setDaysInAWeek(arr);
      } else {
        console.log('single date', new Date(val));
        setDaysInAWeek(new Date(val));
      }
    }
  </code></pre>
  <p>please let me know the issue any help would be appreciated.</p>