react-native-tableview
react-native-tableview copied to clipboard
onPress on Item doesn't work in edit mode
onPress on Item doesn't work in edit mode though I tried to add allowsSelectionDuringEditing={true} props
<TableView
style={{height: 100, borderWidth: 1}}
scrollEnabled={false}
allowsSelectionDuringEditing={true} // <----
tableViewStyle={Consts.Style.Grouped}
tableViewCellStyle={Consts.CellStyle.Value1}>
<Section label={'Section 1'}>
<Item detail="Detail" accessoryType={Consts.AccessoryType.DisclosureIndicator} onPress={onPressHome}>
{'Home'}
</Item>
</Section>
<Section canMove canEdit label={'Section 2'}>
<Item>Item 1</Item>
<Item>Item 2</Item>
<Item>Item 3</Item>
<Item>Item 4</Item>
</Section>
</TableView>
I thought allowsSelectionDuringEditing will make the Item clickable although in edit mode.
Do I misunderstand the meaning?