-
Notifications
You must be signed in to change notification settings - Fork 650
iOS: TouchableOpacity inside Swipeout makes it harder to swipe. #217
Comments
On iOS the swipe is not smooth, it really looks weird. Hope this following commit fixes it. magrinj@4173bd3 referred from this issue [dancormier#217]
@ataillefer Thanks! Are you ready to create a PR? |
#97 (comment) mentions that it has been fixed in version 2.0.13, have you tried it out? |
@ataillefer Will do now! 👍 |
I think this is still an issue for 2.3.1. @RobertBiehl any luck? |
For my part, I found that this is related to After setting the |
try this,please Features |
@ataillefer I just ran into the same performance issue with a Cloning your suggested fork solved the problem in a jiff! Thanks a bunch! 😄 BUT, the fork doesn't support the disabled prop for the |
Haha, I've run into quite a few of your recommendations in this repository already - maybe I should give it a try. I'm just scared away by all the Chinese signs 🇨🇳 😄 Besides, I already have a fine working RN Flatlist, so I would prefer importing a component which just exactly covers my needs and not a completely new list :) |
Sorry, I thought you were talking to me on email. |
Any update on this? Just ran into it myself. Using @magrinj's fork does not work for me, I get this error:
|
Have the same issue, any updates here? |
Same |
I'm trying to make the whole ListView row touchable while also having a swipeout menu.
When I added a TouchableOpacity inside the SwipeOut component it seems like the Touch is given to the TouchableOpacity first, and only is passed after an annoyingly long delay to the wipeout component.
This means the wipeout feels glitchy. Many swipe attempts will fail, or just trigger the onPress of TouchableOpacity.
The native behaviour expected on iOS is that the Swipeout component should have priority, and only after no pan gesture has been detected, the touch is passed on.
In the iOS Mail app this behaviour can be observed, causing a ~300ms delay when tapping an email, and immediate feedback when swiping.
This (or a similar) issue has been addressed before in #97.
Does anyone have an idea how to solve this?
Best,
Rob
The text was updated successfully, but these errors were encountered: