New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v4] | [v2] BottomSheetFlatList not rendering items on screen #1760
Comments
I'm also facing the same issue. Any update? Thanks :) |
same issue |
Same but its working with regular FlatList |
I guess it is a simple fix if you are using a view inside the |
Same issue here and @k3sha7's solution worked for me. Thanks mate! |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Bug
<I'm using gorhoms BottomSheetFlatlist inside of my BottomSheetModal, but it seems like its not rendering anything (but works fine when i use a normal FlatList from the 'react-native-gesture-handler'. I installed the lib using:
npx expo install react-native-reanimated react-native-gesture-handler and npx expo install @gorhom/bottom-sheet@^4>
Environment info
Steps To Reproduce
`import { View, Text, } from 'react-native';
import {BottomSheetFlatList, BottomSheetModal} from '@gorhom/bottom-sheet'
import { forwardRef, useMemo, useRef } from 'react';
import { FlatList } from 'react-native-gesture-handler';
const CustomModal = ()=> {
};
export default CustomModal;`
1.use a BottomSheetModal
2.use a BottomSheetFlatList inside of it
3. use whatever data you want
Describe what you expected to happen:
1.I expect that i see items provided to the FlatList to be rendered on the screen on both android and Iphone.
Reproducible sample code
<
Bottom Sheet issue snack template https://snack.expo.dev/qmNwoUtzbXf1RzpTLr8QC
The text was updated successfully, but these errors were encountered: