-
Notifications
You must be signed in to change notification settings - Fork 130
Description
Hi
Seem to have run into an issue when attempting to open modal selector (v2.0.3) as part of onPress function within react-native-elements List Item & Button (v2.0.0)
Use case is as follows
We have a List Item configured with a title that calls a function to open the modal
title={this.renderWindDirectionSelect()}
and also a button as part of rightIcon as per below
rightIcon: <Button
flex={.5}
title={value}
onPress={() => this.renderWindDirectionSelect()}
type="clear"
width='50%'
/>
When clicking on the list item the modal is displayed perfectly and updating the selected value updates the title of the button (value) perfectly as part of the function called renderWindDirectionSelect
However clicking on the button doesn't display any modal at all, although I can see the function logging stuff out to console so I know its being called
I considered updating elements but that just blew up the app with what looked to be some breaking changes.
any ideas??