Cannot scroll into ActionSheet
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.