indiespirit / react-native-chart-kit

📊React Native Chart Kit: Line Chart, Bezier Line Chart, Progress Ring, Bar chart, Pie chart, Contribution graph (heatmap)
https://expo.io/@indiespirit/react-native-chart-kit
MIT License
2.86k stars 661 forks source link

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

Open cdcv opened 5 years ago

cdcv commented 5 years ago

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 is removed, the error disappears (even though there is no mention of an onPress in the code).

Thanks

jgansl commented 4 years ago

I found this error as well.

dario30186 commented 3 years ago

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 ?

ashcrok commented 3 years ago

Same here. Any updates regarding this?

hesa2020 commented 2 years ago

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

MarcosPauloSouzaMiranda commented 2 years ago

Hello, I have the same problem.

Some solution?

bdhcode commented 2 years ago

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