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

can't use Supported ScrollResponder

Open L-Jovi opened this issue 10 years ago • 3 comments

I try to use onTouchEnd from Supported ScrollResponder, but I get below error

Unhandled JS Exception: Attempted to assign to readonly property.

I try others and looks like that all callbacks couldn't be used except onMomentumScrollEnd

any idea?

thanks for your time.

L-Jovi avatar Mar 06 '16 09:03 L-Jovi

+1

triplehenry avatar Mar 16 '16 09:03 triplehenry

@triplehenry I watch the source and remove 'use strict' at first line, then I could call ScrollResponder

L-Jovi avatar Mar 16 '16 10:03 L-Jovi

@L-Jovi That worked. Thanks!

triplehenry avatar Mar 16 '16 18:03 triplehenry