Andrei Alecu

Results 277 comments of Andrei Alecu

@tom-richtr indeed this seems to be an issue when not using `lazy` tabs. I can reproduce it in the example app if I remove the `lazy` prop. As a workaround,...

I'd suggest forking the repository and trying to reproduce this in the example app by modifying one of the examples. Share the repro and I'll take a look.

Try logging your renders by adding something like `console.log("rendering")` and seeing if you're not re-rendering excessively while swiping tabs. You can fix it afterward by memoizing things as much as...

I see that the header is stuck in the video, that shouldn't happen, so other things seem wrong here. Is that a FlatList or ScrollView? Can you share some relevant...

This doesn't currently handle gliding when the finger is released, correct? I did think about this implementation in the past, but it felt a bit hacky because of missing gliding...

Make sure you use the v5 release candidate version. It's only available there.

As per https://github.com/facebook/react-native/commit/ed29ba13f97f240c91fdf6c0ef3fb601046697b9 this should now land in RN 0.64 which is in RC and will be released soon. Just a heads up, hopefully you can resume work on this...

Which version are you running? Try the latest 5.0 RC. This problem is usually related to memoization in your components. They're probably rendering too often. Try logging your rerenders and...

Take a look at the code in https://github.com/PedroBern/react-native-collapsible-tab-view/blob/main/src/FlatList.tsx You can probably add your own implementation similar to it.

This seems like a side effect of using `contentInset` for content positioning. `contentInset` is required so that the refresh control can be positioned underneath the header. Unfortunately there's no other...