Skip to content
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

关于 renderFooter 的问题 #473

Open
dodoto opened this issue Feb 8, 2022 · 0 comments
Open

关于 renderFooter 的问题 #473

dodoto opened this issue Feb 8, 2022 · 0 comments

Comments

@dodoto
Copy link

dodoto commented Feb 8, 2022

react-native: 0.63.3
react-native-spring-scrollview: 3.0.1-rc.5
react-native-largelist: 3.1.0-rc.1

没有调试ios,只调试了安卓。
写了一个 SectionList
当 renderFooter 是下面这种时,即使有数据也不会执行 renderFooter,renderSection 和 renderIndexPath
renderFooter() { return <CustomComponent /> }
改成
renderFooter() { return <View> <CustomComponent /> </View> }
然后都变正常了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant