We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
We have an issue when trying to open the modal on android (RN 0.62.2), the app freeze and we can't do anything.
We tried binding the onSelect function and setting the state inside the renderRow but nothing works the app still freeze.
<ModalDropdown ref={(el) => (this._dropdown = el)} options={regionsList} onSelect={(regionId, regionName) => this.setLocalRate.bind(regionId, regionName) } renderRow={this._renderRow.bind(this)}> <TouchableOpacity onPress={() => this._dropdown.show()}> <View style={[styles.textFieldContainer, styles.picker]}> <Text style={styles.textFieldItem}>{currentSorting.label}</Text> <Image style={{ height: 15, transform: [{rotate: '90deg'}], }} resizeMode="contain" source={require('../../assets/UI/rightRedArrow.png')} /> </View> </TouchableOpacity> </ModalDropdown>
Thanks for your help,
Théo
The text was updated successfully, but these errors were encountered:
Hi @jeanlucdu55, have you tried the more up-to-date package from here: https://github.com/siemiatj/react-native-modal-dropdown?
Sorry, something went wrong.
No branches or pull requests
Hi,
We have an issue when trying to open the modal on android (RN 0.62.2), the app freeze and we can't do anything.
We tried binding the onSelect function and setting the state inside the renderRow but nothing works the app still freeze.
<ModalDropdown ref={(el) => (this._dropdown = el)} options={regionsList} onSelect={(regionId, regionName) => this.setLocalRate.bind(regionId, regionName) } renderRow={this._renderRow.bind(this)}> <TouchableOpacity onPress={() => this._dropdown.show()}> <View style={[styles.textFieldContainer, styles.picker]}> <Text style={styles.textFieldItem}>{currentSorting.label}</Text> <Image style={{ height: 15, transform: [{rotate: '90deg'}], }} resizeMode="contain" source={require('../../assets/UI/rightRedArrow.png')} /> </View> </TouchableOpacity> </ModalDropdown>
Thanks for your help,
Théo
The text was updated successfully, but these errors were encountered: