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 viewing the Cards screen in the Example App, tapping one of the bottom three Pressable Cards causes a forced close (it seems to occur with onPress or onPressIn)
Tested on:
Poco F4
Android 12
Expected behaviour
The onPress functions should get called without a forced close occurring
How to reproduce?
Open the React Native Paper example app (on a real device or Simulator/Emulator)
Click on Card
Scroll down until you can see the "Pressable Chameleon" card
Tap on card
Preview
Screenshots from iOS Simulator (iOS 16.1)
Screenshots from Android Emulator (Pixel 5 API 32)
What have you tried so far?
I've isolated it down to the onPress and onLongPress props on the Card components in CardExample.tsx
Your Environment
software
version
ios
16.1
android
12
react-native
0.69.6
react-native-paper
N/A, it affects the Example App
node
16.16.0
yarn
1.22.19
expo sdk
6.0.6
The text was updated successfully, but these errors were encountered:
Current behaviour
When viewing the Cards screen in the Example App, tapping one of the bottom three Pressable Cards causes a forced close (it seems to occur with
onPress
oronPressIn
)Tested on:
Poco F4
Android 12
Expected behaviour
The
onPress
functions should get called without a forced close occurringHow to reproduce?
Open the React Native Paper example app (on a real device or Simulator/Emulator)
Click on Card
Scroll down until you can see the "Pressable Chameleon" card
Tap on card
Preview
Screenshots from iOS Simulator (iOS 16.1)
![Group 1](https://user-images.githubusercontent.com/3381481/206095585-d9329f64-cd91-4757-a28b-34594611f5ee.jpg)
Screenshots from Android Emulator (Pixel 5 API 32)
![Group 1](https://user-images.githubusercontent.com/3381481/206096647-e5c47803-2f3d-4b83-928d-027336ca06b1.png)
What have you tried so far?
I've isolated it down to the
onPress
andonLongPress
props on theCard
components inCardExample.tsx
Your Environment
The text was updated successfully, but these errors were encountered: