react-native-action-sheet-component
react-native-action-sheet-component copied to clipboard
Actionsheet do not completely hide when having too many children
As title, it is easy to reproduce, please see below:
ActionSheetManager.show({
style: ThemeStyles.generalItemBg,
separatorStyle: ThemeStyles.generalItemBorder,
showSelectedIcon: false,
children: [
<ActionSheetItem
key={uuid.v4()}
text={<Text style={ThemeStyles.authorComment}>Share This!</Text>}
onPress={() => )}
/>,
<ActionSheetItem
key={uuid.v4()}
text={<Text style={ThemeStyles.authorComment}>Share This!</Text>}
onPress={() => )}
/>,
<ActionSheetItem
key={uuid.v4()}
text={<Text style={ThemeStyles.authorComment}>Share This!</Text>}
onPress={() => )}
/>,
<ActionSheetItem
key={uuid.v4()}
text={<Text style={ThemeStyles.authorComment}>Share This!</Text>}
onPress={() => )}
/>,
<ActionSheetItem
key={uuid.v4()}
text={<Text style={ThemeStyles.authorComment}>Share This!</Text>}
onPress={() => )}
/>,
<ActionSheetItem
key={uuid.v4()}
text={<Text style={ThemeStyles.authorComment}>Share This!</Text>}
onPress={() => )}
/>,
<ActionSheetItem
key={uuid.v4()}
text={<Text style={ThemeStyles.authorComment}>Share This!</Text>}
onPress={() => )}
/>
]})
Look at this pull request. It may to help #10