I have a simple screen with components like this:
<Parent onLongPress={/* do something */}>
<Child onPress={/* do something */} />
<Child onPress={/* do something */} />
<Parent>
I would like any long press on anything within <Parent> to trigger Parent.onLongPress, and short press of children to trigger the correspondant Child.onPress. I learned from the documentation that the parent view can use View.props.onStartShouldSetResponderCapture={(event) => true} to be the one handling the event, but I cannot find a way to do this only for long press events and not all touch events. I initially expected I would be able to use the event type in onStartShouldSetResponderCapture but it seems to always be set to undefined.
I created a Snack if someone wants to try out: https://snack.expo.io/@dgellow/arrogant-strawberries.