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

Bug using with in react-native-web: Unknown event handler property `onPress`. It will be ignored.

Open cdcv opened this issue 5 years ago • 6 comments

react-native-chart-kit causes the above js console warning when running on react-native-web. This is using code for a sample LineChart based on the sample from the repo documentation. It works fine on android and ios. If the <LineChart> is removed, the error disappears (even though there is no mention of an onPress in the code).

Thanks

cdcv avatar Jun 20 '19 02:06 cdcv

I found this error as well.

jgansl avatar Jan 02 '20 23:01 jgansl

Same here. I also have other warnings as soon as the LineChart is rendered for web:

Unknown event handler property onStartShouldSetResponder. It will be ignored Unknown event handler property onResponderTerminationRequest. It will be ignored Unknown event handler property onResponderGrant. It will be ignored Unknown event handler property onResponderMove. It will be ignored Unknown event handler property onResponderRelease. It will be ignored Unknown event handler property onResponderTerminate. It will be ignored

any suggestions ?

dario30186 avatar Nov 05 '20 12:11 dario30186

Same here. Any updates regarding this?

ashcrok avatar Jan 06 '21 14:01 ashcrok

I would really love to get a fix for this asap.

hesa2020 avatar Feb 26 '22 10:02 hesa2020

Hello, I have the same problem.

Some solution?

MarcosPauloSouzaMiranda avatar May 06 '22 14:05 MarcosPauloSouzaMiranda

#609 take a look at my approach for making this work on web

bdhcode avatar Jun 02 '22 15:06 bdhcode