react-native-action-sheet-component icon indicating copy to clipboard operation
react-native-action-sheet-component copied to clipboard

Actionsheet do not completely hide when having too many children

Open tikkichan4 opened this issue 8 years ago • 1 comments

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={() => )}
          />
         ]})

tikkichan4 avatar Nov 17 '17 11:11 tikkichan4

Look at this pull request. It may to help #10

dNadiia avatar Mar 01 '18 18:03 dNadiia