-
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Labels
Architecture: NewIssues related only to new architectureIssues related only to new architecturePlatform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is providedA reproduction with a snack or repo is provided
Description
Description
When using Android devices (iOS and Android emulator is fine) you cannot use onPress in the header bar. onPressIn and onPress out does work. This was tested mostly with Samsung devices.
This only happens with native-stack / Expo Router.
Please have a look here:
expo/expo#30032
react-navigation/react-navigation#12039
facebook/react-native#44643
Steps to reproduce
- Use react navigation native-stack with new arch enabled on RN 0.74
- Go to a stack screen and try to press elements with onPress
- onPress elements wont work. onPressIn and onPressOut does
Snack or a link to a repository
https://github.com/DrZoidberg09/RN-Android-Touch-Issue/
For comparison a repo with bare RN, one with Expo and react navigation stack and one with Expo router / native-stack
Screens version
3.32.0
React Native version
0.74
Platforms
Android
JavaScript runtime
Hermes
Workflow
None
Architecture
Fabric (New Architecture)
Build type
None
Device
None
Device model
Samsung S23, Samsung S8+
Acknowledgements
Yes
mym0404, jiroscripts, metiftikci, beinoriusju, kegashe and 33 more
Metadata
Metadata
Assignees
Labels
Architecture: NewIssues related only to new architectureIssues related only to new architecturePlatform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is providedA reproduction with a snack or repo is provided