-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Tapping Card with onPress causes error when leaving iOS app #2167
Comments
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
Do you need any further information? |
@Trancever I apologize for mentioning you directly, but I believe this issue is fairly critical and will not get attention being far down the issue list now. Maybe I did not make this clear in the initial post, but this always crashes the app on iOS if I verified that the crash is fixed if I patch react-native-paper and set The issue should be reproducible on iOS with the repository I provided, let me know if you need more info, please. Thanks! |
This looks like a React Native issue. Can you try to reproduce this with bare minimum in pure React Native and maybe we can make an issue in the React Native repository. |
I'm hitting this issue as well. Any time after onPress is called on a Card I get a crash with the same error when the app is backgrounded. I was able to work around this by overriding the value of "dark" in the Card's theme prop to force useNativeDriver to false on the animation: theme={{ |
Hello 👋, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue. |
It should be an upstrem issue: facebook/react-native#28525 |
Current behaviour
Tapping a
<Card>
shows some sort of background shadow. The next time the user presses the physical home button to leave the app, the errror described in the expected behaviour section is thrown.I noticed #2063 , but here I do not use dark mode or any theme, see the code sample.
Expected behaviour
This error not happening:
Error: Style property 'backgroundColor' is not supported by native animated module
Code sample
I prepared a minimal code sample where I just installed react-native-paper and display a
Card
:https://github.com/ferbeb/react-native-paper-card-onpress-error-mwe
Code sample
Your Environment
The text was updated successfully, but these errors were encountered: