With the update to RN 0.73 the onDropViewInstance of ViewManager is not called anymore when a screen is popped from the stack.
As stated here for the onDropViewInstance:
Called when view is detached from view hierarchy and allows for some additional cleanup by the ViewManager subclass.
What was the expected behaviour?
onDropViewInstance should be called when a view is popped from the stack.
Was it tested on latest react-native-navigation?
[X] I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!
You can reproduce the error in the playground app:
What happened?
With the update to RN 0.73 the
onDropViewInstance
of ViewManager is not called anymore when a screen is popped from the stack. As stated here for theonDropViewInstance
:What was the expected behaviour?
onDropViewInstance
should be called when a view is popped from the stack.Was it tested on latest react-native-navigation?
Help us reproduce this issue!
You can reproduce the error in the playground app:
com/facebook/react/uimanager/ViewManager.class
file in theonDropViewInstance
MethodonDropViewInstance
should be called, but it isn'tWith the same steps with 7.37.2
onDropViewInstance
is called.In what environment did this happen?
React Native Navigation version: - React Native version: 0.73 Has Fabric (React Native's new rendering system) enabled: no Node version: - Device model: - Android version: -