PedroBern / react-native-collapsible-tab-view

A cross-platform Collapsible Tab View component for React Native
MIT License
836 stars 162 forks source link

CenteredEmptyList Example is Commented out #78

Closed alexpchin closed 3 years ago

alexpchin commented 3 years ago

Currently, the CenteredEmptyList example differs from the v2 example, as it doesn't take value for the current tab/index. How come this was commented out? What issue was being faced?

Screenshot 2021-01-31 at 11 58 40
PedroBern commented 3 years ago

It's not syncing correctly. We will probably need to add something like visibleHeader to the context, so we can interpolate with the current visible header height.

PedroBern commented 3 years ago

Actually, we just need to get the translateY value from the header. I will add this during the week, today I'm away.

alexpchin commented 3 years ago

My version is actually working now. #80