Open dodoto opened 2 years ago
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
renderFooter() { return <CustomComponent /> }
} ` 然后都变正常了
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} ` 然后都变正常了