react-native icon indicating copy to clipboard operation
react-native copied to clipboard

onResponderRelease does not work on android devices

Open 12d opened this issue 10 years ago • 2 comments

Exactly speaking, onResponderRelease is not triggered on Android if it nested with Text, but works well with IOS devices. Here is my quite simple code:

render (){
        return (
            <Text>
            <Image onResponderRelease={()=>{alert(1)}} onStartShouldSetResponder={()=>true} source={{height: 100, width: 100, uri: 'http://dimg04.c-ctrip.com/images//u00l0400000000dq8C668.jpg'}}/>
            </Text>
        )
}

12d avatar Jun 17 '16 07:06 12d

@facebook-github-bot duplicate #8177

charpeni avatar Jun 17 '16 13:06 charpeni

@charpeni tells me this issue is a duplicate of #8177. Let's discuss there, closing this one.

ghost avatar Jun 17 '16 13:06 ghost