-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onPress Card don't work after upgrade Expo to 51 #4450
Comments
Dont make the Card component self-closed This behavior also applies for the Button component I haven't explored the reason for this behavior in the component code but this is how it works Hope it solve your problem |
excellent! There I modified the code and it worked perfectly. Thank you very much for the quick answer! |
@FouadMagdy01 do you mean to reproduce this bug don't send children? |
Yes, When not providing the children component in React Native paper Components the pressing functionality doesn't work at all You can even notice that if you have |
My code is
<Card style={[styles.buttonCard, styles.buttonColor]}
onPress={() => navigation.navigate('Property',
{
---some properties--
})}>
--some text--
This code in expo 49 is functionally, after upgrade, card onPress is disabled and dont show content of view (icons, text)
If delete onPress , render view OK
Thanks!
The text was updated successfully, but these errors were encountered: