victory icon indicating copy to clipboard operation
victory copied to clipboard

onPressIn ,onClick, onPress is not working with VictoryPie in react native mobile Application

Open ashish2583 opened this issue 1 year ago • 2 comments

onPressIn ,onClick, onPress Any props is not working with VictoryPie in react native mobile Application i am using "victory-native": "^36.5.3" "react": "17.0.2", "react-native": "0.66.4", "react-native-svg": "^12.1.1",

Please Help me Uploading Screenshot 2022-08-05 at 8.41.41 PM.png…

ashish2583 avatar Aug 05 '22 15:08 ashish2583

@ashish2583 use VictoryContainer with disableContainerEvents:

<VictoryChart containerComponent={<VictoryContainer disableContainerEvents />}>
  <VictoryPie ... />
....

maxoschepkov avatar Aug 12 '22 15:08 maxoschepkov

Hi everyone, we are transitioning all Native development to our new Victory Native XL library which is purpose built for supporting Native. Many of the design decisions we made in this version of Victory is not ideal for Native development.

acharyakavita avatar Jan 25 '24 17:01 acharyakavita