jacklam718 / react-native-action-sheet-component

React Native Action Sheet Component for iOS & Android.
MIT License
61 stars 17 forks source link

Actionsheet do not completely hide when having too many children #11

Open tikkichan4 opened 6 years ago

tikkichan4 commented 6 years ago

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={() => )}
          />
         ]})
dNadiia commented 6 years ago

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