zubairpaizer / react-native-searchable-dropdown

Searchable Dropdown
148 stars 98 forks source link

onItemSelect not working on ipad air #74

Open amoswijaya opened 3 years ago

amoswijaya commented 3 years ago

this my code...

<SearchableDropdown onTextChange={(text) => console.log(text)} onItemSelect={item => alert(JSON.stringify(item))} containerStyle={styles.dropDown} textInputStyle={styles.textInputStyle} itemStyle={{padding:20}} itemTextStyle={styles.label} itemsContainerStyle={styles.itemsContainerStyle} items={this.props.items} defaultIndex={0} placeholder={this.props.placeholder} resPtValue={false} underlineColorAndroid="transparent" placeholderTextColor='#000' />

i tryed in iphone 12 is working but in ipad is not working props 'onItemSelect'