react-navigation-shared-element
react-navigation-shared-element copied to clipboard
error when triggering goback
"react-navigation-shared-element": "^5.0.0-alpha0" "react-native-shared-element": "^0.7.0" "@react-navigation/bottom-tabs": "^5.8.0", "@react-navigation/drawer": "^5.9.0", "@react-navigation/native": "^5.7.3", "@react-navigation/stack": "^5.9.0",
Warning: Can't perform a React state update on an unmounted component.
going to the details screen works great with animation and all, clicking on goBack works with animation but an error pops and the SharedElement seems to be freeze in place (scrolling, and it's stuck in position.)
please, your kind help!
Posted a solution that worked for me in #91
thanks @KDKHD , but it didn't work for me... :(
I got the same exact issue, even with @KDKHD's solution.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. in Card (at CardContainer.tsx:206) in CardContainer (at CardStack.tsx:623) in RNSScreen (at createAnimatedComponent.js:217) in AnimatedComponent (at createAnimatedComponent.js:278) in AnimatedComponentWrapper (at src/index.native.tsx:147) in Screen (at Screens.tsx:74) in MaybeScreen (at CardStack.tsx:616)