-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Lazy load #16
Comments
I tried the following code and it seems to work
|
I ended up changing to https://github.com/PedroBern/react-native-collapsible-tab-view |
Sorry for my late reply.
The tricky part is that if we simply enable
Here we also need to modify
|
Thank you for the amazing job implementing and sharing this code with us as a base for multiple use cases.
Have you tried to implement lazy loading? I have been trying to implement it and facing some issues related to the scrollOffSet of the lazy loaded tabs, I'm facing the issue that you explain on the medium post where you introduce the syncScrollOffset to cover all the tabs scroll and keep them in sync, this won't work for lazy loading because the listRefArr does not hold the references for the tabs that are not yet loaded.
I'm trying to come up with a solution, but since you worked with the base idea maybe you know some "workaround" for this situation? Meantime if I find a way of handling it I will post here for further reference in case someone needs it.
The text was updated successfully, but these errors were encountered: