react-native-collapsible-tab-view: Regressions: v5 RC breaks all touchables by react-native-gesture-handler in FlatList

@andreialecu I can tell you that I’ve upgraded and the first thing I realized is that that new release is breaking the swipe behavior in my view. I can only swipe tabs now when I place my finger on the tabs directly or when I swipe in the header area or on a view that does not use touchables by RNGH.

It does not play nicely with RectButton, BaseButton etc by react-native-gesture-handler anymore. It does work with RN-Touchables (which should not be used in FlatLists anyway, because they don’t work nicely with FlatList, activating with scroll which they should not)

It does work with TouchableOpacity, TouchableWithoutFeedback etc (from react-native) though v4 did not had any issues with RectButton

P:S: Can’t select “issue” as “issue”, only Feature Requests and Questions.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17

Most upvoted comments

My PR has been merged, it was an issue with pager-view. A new version has been released. Touchables should work with 5.4.17

Other regressions:

  • useTabsContext must be inside a Tabs.Container.
  • useTabNameContext muss be inside a TabNameContext

I am not even using this. Its coming from the FlatList Implementation.