ERROR - VirtualizedLists should never be nested inside plain ScrollViews with the same orientation
I'm working on a react-native app and I have to put a list of object in a Scrollview, so I use the FlatList component to do it. This is the piece of code that generates the error: <ScrollView
stackoverflow.com
내부 스크롤에 FlatList X / ScrollView O 사용하기
<ScrollView scrollEnabled={true} nestedScrollEnabled={true}>
{commentList?.map((item) => (
<CommentItem key={item.id} comment={item} />
))}
</ScrollView>
'프론트엔드 > RN' 카테고리의 다른 글
RN/Expo 릴리스 디버깅 방법 (0) | 2025.09.16 |
---|---|
RN(React-Native) 환경변수 사용방법ㅣ릴리즈 버전 환경변수 오류 해결 (0) | 2025.09.16 |
RN 배포 6트만에 알아낸 배포 버전 넘버 자동 증가 기능 (0) | 2025.09.13 |
RN(React-Native) 모달 안에 토스트 띄우기 (0) | 2025.09.13 |
RN(React-Native) 스크롤 스냅 구현 예시코드 (릴스&숏츠 UI)구현 (0) | 2025.09.13 |