We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ScrollView
<ScrollView horizontal pagingEnabled nestedScrollEnabled showsHorizontalScrollIndicator={false} showsVerticalScrollIndicator={false} ref={scrollRef} > {childrens.map((child, index) => <View style={styles.childrenContainer} key={index}>{child}</View>)} </ScrollView>
如果初始展示非首帧,如何初始化ScrollView滚动位置呢?
contentOffset
contentInset
contentContainerStyle
FlatList
The text was updated successfully, but these errors were encountered:
Navigation
Sorry, something went wrong.
No branches or pull requests
RN轮播(走马灯/Swiper/Carousel/Snap )组件
ScrollView
实现
初始位置
如果初始展示非首帧,如何初始化
ScrollView
滚动位置呢?contentOffset
Issues/Conern
contentInset
只有iOS才支持,为啥不直接用contentContainerStyle
呢?参考
改用
FlatList
参考
ScrollView
The text was updated successfully, but these errors were encountered: