jobtoday / react-native-image-viewing

Tiny, purely TS, modal component for viewing images 🏙
https://exp.host/@antonkalinin/react-native-image-viewing
MIT License
890 stars 290 forks source link

Nonfunctional on latest React-Native versions (0.66.0) #115

Open VicFrolov opened 3 years ago

VicFrolov commented 3 years ago

Hello,

I just upgrade my RN version to latest (0.66.0), and if I toggle to visible, then swipe to close or press to close, it dispatches animation, but then shortly after takes over the entire screen again with a black background, which is not close-able or dismissible via swipe, requiring a hard close of the app.

After downgrading again to 0.64.1, everything worked as expected.

Versions react-native: 0.66.0 (from 0.64.1) react-native-image-viewing: 0.2.0

tomgreco commented 3 years ago

https://github.com/tomgreco/react-native-image-viewing

I created a fork of this and switched it to use latest React Native as well as react-native-fast-image for better performance. Might be of use to you.

maksimko commented 3 years ago

@VicFrolov Thank you. For now you can try to not pass presentationStyle property on iOS.

nazrdogan commented 2 years ago

@tomgreco did you delete repo?