You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a physical Android device, the `onPress` event will not be fired for Victory components. This happens regardless of what containerComponent you use. In the provided snack I have used `VictoryBar` with `VictoryZoomContainer`.
The issue is not reproducible on iOS physical device, iOS simulator, or Android simulator. The issue only appears when running on a physical Android device.
Steps to reproduce
Open the snack link provided, then:
1) Run the app using the Android simulator provided on the right.
2) Tap on any bar.
3) Check console logs. All events will fire as expected.
4) Run the app using the "My Device" and use a physical Android device.
5) Tap on any bar.
6) Check console logs. `onPressIn` will fire as expected, `onPressOut` will fire immediately (unexpected), and `onPress` does not fire at all.
Expected behavior
The onPress event should be fired when user taps on the respective Victory component
Actual behavior
The onPress event does not fire at all. Furthermore, the onPressOut event fires immediately after onPressIn, instead of firing when the user releases a press
Is there an existing issue for this?
Code of Conduct
Victory version
"victory-native": "37.0.2",
"react-native-svg": "15.8.0"
Code Sandbox link
https://snack.expo.dev/-8jFnfC69c-pJB3gQJhs_
Bug report
Steps to reproduce
Expected behavior
Actual behavior
Environment
The text was updated successfully, but these errors were encountered: