react-native-fast-image
react-native-fast-image copied to clipboard
[Android] Image disappears when using react-native-screens
Describe the bug On Android when I want to close a screen, it first hides the images inside the screen and then pop's the screen.
To Reproduce Steps to reproduce the behavior if possible, or a link to a reproduction repo:
- Open the reproduction project
- Click next page
- Use hardware back button to go back
- See that image is hidden before transition.
Please take a look at this issue: https://github.com/software-mansion/react-native-screens/issues/797
Seem likes the issue is somewhere between react-native-fast-image and react-native-screens. Based on the reproduction example you can see that using createStackNavigator
instead of createNativeStackNavigator
fixes the issue as well as using Image(from react-native) instead of one from react-native-fast-image.
I also noticed that commenting out requestManager.clear(view)
in onDropViewInstance
in node_modules/react-native-fast-image/android/src/main/java/com/dylanvann/fastimage/FastImageViewManager.java
also fixes the issue.
However I don't have enough knowledge about any of this projects to investigate in further.
Did you ever find a solution to this?
I am also hitting this issue after upgrading from createStackNavigator
to createNativeStackNavigator
. The image appears fine, but disappears during the transition when navigating back via either the hardware button or function call from in the app. Does anyone have any ideas?
use this fork https://github.com/safwenbelkassem/react-native-fast-image.git
Hitting the issue when using createNativeStackNavigation in react-navigation 6.x,did author plan to fix it ?
Same here. I'm using createNativeStackNavigation from react-navigation
@safwenbelkassem is this issue still open?
I still have the problem, Is someone have a solution for that?