IjzerenHein / react-navigation-shared-element

React Navigation bindings for react-native-shared-element 💫
https://github.com/IjzerenHein/react-native-shared-element
MIT License
1.27k stars 124 forks source link

Focus listeners are incorrect on screens with shared elements in a stack navigator #217

Closed yawnr closed 2 years ago

yawnr commented 2 years ago

Going from one screen with a shared element to another in the same stack, the second screen never registers as having been focused.

yawnr commented 2 years ago

this looks like it was an issue with the isFocused prop injected by withNavigationFocus or something. Setting up the navigation listeners myself worked fine. /shrug

apologies for spamming, thought i'd tried everything