-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regressions: v5 RC breaks all touchables by react-native-gesture-handler in FlatList #256
Comments
It does also break the workaround used here: #248 |
Other regressions:
I am not even using this. Its coming from the FlatList Implementation. |
Fixed this in |
The RNGH issue is odd. Must be something about |
Need a repro for this or more details. Nothing related to that should've changed. 🤔 |
For now (with a broken heart), I swapped RectButton with TouchableWithoutFeedback. Ok, whats left is RNGH :/ |
If you'd like to help out to figure out if there are any workarounds, or the reason for the RNGH issue it would be greatly appreciated. |
Are you importing Flatlist from RN or from RNGH? Usually it's enough to use Flatlist by RNGH to get rid of touchable issues (it's also preferred when working with gestures). |
I briefly tested the RNGH flatlist and it didn't make any difference. |
Hm... dang. I'm also seeing my items disappear sometimes now, like when you use removeClippedSubviews. It happens very randomly, have to investigate further |
I made a repro case and its indeed an issue with pager-view vs rngh The green area is swipeable and the yellow one not. Only the third yellow box works because its using TouchableHighlight from RN |
Not happening on android btw, its iOS only |
The issue might be caused by RNGH and not pager view. Try opening an issue on that side too. |
I filed an issue at both repos |
Just figured that |
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 |
I was facing the same issue. The error disappeared after I changed |
@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.
The text was updated successfully, but these errors were encountered: