Yes, I’m running the latest Expo client. Yes, setting
onPress solved the issue in the Snack.
The mentioned issues are not the same because they are related to different commits and dates:
I’m having this trouble when trying to upgrade my app to SDK 39 both with
Pressable, all my “buttons” have
onPress, so it didn’t fix the delay. I really don’t know why this is happening and why I can’t reproduce it in Snack
You can see that the
Pressability issue isn’t resolved in Expo if you go to
node_modules/react-native/Libraries/Pressability/Pressability.js and see its code. If I apply the mentioned fix, everything works without any delay.
Is there any forecast to create a new patch (39.0.4)? Should I create an Issue to track this better?
Other weird things are happening, but then I need to debug it better, understand it and maybe open another topic.
PS: If you see the Issue I mentioned, you’ll notice that a
unstable_pressDelay was created (see this commit) as a temporary workaround to delay
onPressIn when the
Pressable is inside a
ScrollView. I don’t know if this should be patched together.