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

onResponderRelease doesn't work as expected using ListView on Android

Open starzhy opened this issue 10 years ago • 10 comments

onResponderRelease doesn't work as expected using ListView on Android

starzhy avatar Apr 04 '16 09:04 starzhy

I also have this problem.

vitonzhang avatar Jul 18 '16 09:07 vitonzhang

same issue it's calling that function

yhan64 avatar Aug 09 '16 01:08 yhan64

Same issue!!

mt81 avatar Aug 16 '16 21:08 mt81

duplicate #8177

dimmetrius avatar Aug 20 '16 13:08 dimmetrius

What do you mean by doesn't work as expected? Can you provide an example?

satya164 avatar Aug 20 '16 16:08 satya164

Same here, is there any work around for this?

tuneZola avatar Oct 04 '16 22:10 tuneZola

@satya164 i use ScrollView like this:

<ScrollView>
    <ScrollView horizontal={true}
                        directionalLockEnabled={true}
                        onScroll={(event)=>{
                            console.log('onScroll', JSON.stringify(event.nativeEvent.contentOffset.x))
                        }}
                        onResponderRelease={(event)=>{
                            console.log('onResponderRelease')
                        }}
    >
    <ScrollView>
</ScrollView>

and there are no "onResponderRelease" event

dimmetrius avatar Oct 05 '16 15:10 dimmetrius

I think we need more information - could you provide a project that reproduces this on rnplay.org? I am going to close this issue but please feel free to reopen if you do have that info.

lacker avatar Nov 29 '16 22:11 lacker

I'm experiencing this issue too on RN 0.39, onResponderRelease is never fired on Android.

Exilz avatar Jan 12 '17 09:01 Exilz

Also having the same issue on RN 0.43.3.

zachrnolan avatar Apr 21 '17 21:04 zachrnolan