react-navigation-shared-element icon indicating copy to clipboard operation
react-navigation-shared-element copied to clipboard

error when triggering goback

Open itaisegal opened this issue 4 years ago • 3 comments

"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!

itaisegal avatar Oct 15 '20 12:10 itaisegal

Posted a solution that worked for me in #91

KDKHD avatar Oct 16 '20 21:10 KDKHD

thanks @KDKHD , but it didn't work for me... :(

itaisegal avatar Oct 18 '20 07:10 itaisegal

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)

jzxchiang1 avatar Jul 02 '21 17:07 jzxchiang1