Quantcast
Channel: TouchableNativeFeedback on a component does not execute the onPress function - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by slashsharp for TouchableNativeFeedback on a component does not...

Wrap your component in View and it should fix the error<TouchableNativeFeedback onPress={this._changeAccount.bind(this, user)} delayPressIn={0} delayPressOut={0} useForeground={true}...

View Article


Image may be NSFW.
Clik here to view.

TouchableNativeFeedback on a component does not execute the onPress function

I have something like this: <TouchableNativeFeedback onPress={this._changeAccount.bind(this, user)} delayPressIn={0} delayPressOut={0} useForeground={true}...

View Article
Browsing all 2 articles
Browse latest View live