I implemented the image view component in a modal from React Native Navigation (wix). This works great and everything is working properly. However when I close the regular modal the close animation for the image view modal also pops up. Even though the image view modal is not being displayed.
I tried to render the image view component conditionally. However this does not seem to have any impact. For some reason it overwrites it.
Furthermore I tried without a animationType. This also does not resolve the problem.
I implemented the image view component in a modal from React Native Navigation (wix). This works great and everything is working properly. However when I close the regular modal the close animation for the image view modal also pops up. Even though the image view modal is not being displayed.
https://github.com/jobtoday/react-native-image-viewing/assets/9596234/ce543c6f-7f97-4970-ae49-7b8caf57b0ef
With a regular screen the library works great.
I tried to render the image view component conditionally. However this does not seem to have any impact. For some reason it overwrites it. Furthermore I tried without a animationType. This also does not resolve the problem.