Open Ucekay opened 1 month ago
+1 same issue.
Same!
can confirm
+1 same issue
same. worked before i updated expo and maybe accidently updated this package
Fixed this by setting react-native-reanimated
to exactly 3.8.1
👍
@tomas1808 interesting, I tried this but didn't work. Is this version 7.0.1 of react-native-collapsible-tab-view
?
@vbylen My exact configuration is:
"react-native-collapsible-tab-view": "^7.0.1"
"react-native-pager-view": "^6.2.3"
"react-native-reanimated": "3.8.1"
@tomas1808 what about react-native-gesture-handler
?
@saulamsal "react-native-gesture-handler": "~2.14.0"
Fixed this by setting
react-native-reanimated
to exactly3.8.1
👍
Thank you, @tomas1808 !
I am able to solve this by simply changing reaxt-native-reanimated
to 3.8.1
. Here are the versions of the packages.
"react-native-collapsible-tab-view": "^7.0.1"
"react-native-pager-view": "^6.3.0"
"react-native-gesture-handler": "^2.16.0"
I have a feeling that this problem is related to this issue that has been occurring since version 3.9.0
of react-native-reanimated
.
@Ucekay Glad it worked for you! Not sure why not everyone is having the same success.
I'll use this moment to promote my own question in case anyone is feeling like giving back 🤣
This package used to work seamlessly with expo
. However, after upgrading from expo
SDK 50 to SDK 51, the following dependencies were updated:
react-native-reanimated
: ~3.6.2
→ 3.10.1
react-native-pager-view
: 6.2.3
→ 6.3.0
react-native-gesture-handler
: 2.14.0
→ 2.16.1
Since expo
includes specific versions of these packages with each release, manually changing the versions isn't feasible.
I recommend keeping this issue open until it is resolved and the package is compatible with the latest expo
SDK 51 (51.0.8
as of May 20th 2024).
@Ucekay I performed the same operation, but there will be version compatibility issues
(Written with machine translation)
Description
When using Tabs.FlashList (and Tabs.MasonryFlashList), the header does not change in any way and does not fold; with Tabs.FlatList and Tabs.ScrollView it works fine and the header folds. In addition, when moving to Tabs.FlashList with the header collapsed in Tabs.FlatList, etc., the height of the Header is maintained, but if the FlashList is scrolled down, a blank space equal to the height of the Header is created.
Steps to reproduce
Fork this repository and run the example app
Video
https://github.com/PedroBern/react-native-collapsible-tab-view/assets/122760705/ef879d51-8b19-4ea3-823a-dd8d6db42a24