TouchableWithoutFeedback#hitSlop

hitSlop {top: number, left: number, bottom: number, right: number}

This defines how far your touch can start away from the button. This is added to pressRetentionOffset when moving off of the button. NOTE The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.

doc_React_Native
2016-06-23 04:25:58
Comments
Leave a Comment

Please login to continue.