chymtt / ReactNativeDropdownAndroid

A simple wrapper for Android's Spinner in react-native
MIT License
62 stars 22 forks source link

reactNative module getting crash after selecting the value in dropDown #26

Open shaikhussian opened 7 years ago

shaikhussian commented 7 years ago

Hai i tried like this:

export default class sidemenu extends Component {
  render() {
    return (
     <Dropdown
        style={{ height: 20, width: 200}}
        values={[ '--Choose--', 'one', 2, 3.5, { four: 4 }, [ 5, 6, 7 ], false ]}
        selected={1} onChange={(data) => { console.log(data); }} />
    );
  }

}

after selecting the value in dropDown app getting crashes in android please give me suggestions that how to resolve it react-native version:0.35.0 react-native-dropdown-android: 0.0.12

shaikhussian commented 7 years ago

please respond

heartjigi commented 7 years ago

To solve this problem, I made PR. This problem from native "Event" module changing.