I have a disappearing header which I want to bring back into the view on a single tap anywhere on the screen. But if I am wrapping the entire <View>
inside a <TouchableX>
component the PanResponder stops working. Is there a hack around this?
You do not need to warp it with Touchable
component.
Add next props to root View
.
onResponderGrant - make View
handle touch
onStartShouldSetResponder - make View
handle start
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With