wix / wix/react-native-ui-lib

Cannot scroll into ActionSheet

Open
#2,873 6 comments 0 reactions 1 assignee View on GitHub

@adids1221 is already working on this.

Since Feb 9, 2025.

bug waiting-for-response WIP
Dominant language
TypeScript
Stars
7.2k
Forks
748
Avg merge
2d 18h
Merged PRs (30d)
1

Description

Description

I have wrapped Flatlist into ActionSheet. Flatlist items do not scroll into actionsheet

Related to
  • Components
Code snippet
      <ActionSheet
        options={actionSheetOptions}
        visible={isActionSheetVisible}
        onDismiss={() => {}}
        renderAction={renderAction}
        containerStyle={{
          height: height,
        }}
      />
      
  const renderAction = (option: ButtonProps, index: number) => {
    return (
      <View key={index}>
          <ActionSheetItemsList />
      </View>
    )
  }
  
  const ActionSheetItemsList = () => {
    return (
       <FlatList
        data={data}
        renderItem={({ item }: any) => renderItem(item)}
        keyExtractor={(_item, index) => index.toString()}
      />
    )
  }

Environment
  • React Native version: 0.72.6
  • React Native UI Lib version: 7.8.0
  • Expo version: 49.0.21
Affected platforms
  • Android
  • iOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.