TouchableWithoutFeedback#pressRetentionOffset

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

When the scroll view is disabled, this defines how far your touch may move off of the button, before deactivating the button. Once deactivated, try moving it back and you'll see that the button is once again reactivated! Move it back and forth several times while the scroll view is disabled. Ensure you pass in a constant to reduce memory allocations.

doc_React_Native
2016-06-23 04:26:00
Comments
Leave a Comment

Please login to continue.