Open andreialecu opened 1 year ago
Can be repro'd by uncommenting these lines in the example:
Not sure if helpful but:
react-native-collapsible-tab-view/example/src/Shared/ContactsFlashList.tsx
with a View with fixed height and subtract the const { top } = useHeaderMeasurements()
like this:
<View style={{ height: height - top.value }} >
<Tabs.FlashList>
...
</View>
where height is const height = useWindowDimensions().height
at least it is stuck on the previous tab scroll value. 🤷♂️ hope it helps
i got this issue hope will have solution soon
Any update?
You can bypass this by wrapping the flashlist in the tabs scrollview
I tried, it doesn't seems to work at all
You can bypass this by wrapping the flashlist in the tabs scrollview
But 'onRefresh' and 'onEndReached' are not working
Not sure if helpful but:
- I think flashlist needs a height all the time in order to correctly render the list.
- if you wrap the
react-native-collapsible-tab-view/example/src/Shared/ContactsFlashList.tsx
with a View with fixed height and subtract theconst { top } = useHeaderMeasurements()
like this:<View style={{ height: height - top.value }} > <Tabs.FlashList> ... </View>
where height is const
height = useWindowDimensions().height
at least it is stuck on the previous tab scroll value. 🤷♂️ hope it helpsSimulator.Screen.Recording.-.iPhone.14.Pro.-.2023-05-22.at.19.28.06.mp4
Hi, I am having an issue with the tabBarHeader hiding under the safeAreaView on ios but in this video, the issue is not there, Do you mind sharing the code snippet of this specific video demo?
+1
+1
Flashlist does not support
minHeight
incontentContainerStyle
resulting in an issue if there isn't enough content to fill the screen when swiping between panes.See video below for an explanation:
https://user-images.githubusercontent.com/697707/233771319-5087ff0b-edd3-40a2-9d14-98c6cbb4f1b4.mp4