pavelbabenko / react-native-awesome-gallery

Performant, native-like, and well-customizable gallery for React Native.
MIT License
494 stars 54 forks source link

Example shared element transition #60

Closed ori9998 closed 11 months ago

ori9998 commented 11 months ago

Hello, thank you for this amazing gallery! One thing that I've noticed is that when running the example that you provided, it doesn't seem to have shared element transition when opening and closing. Is there any example on shared element transition like in the gif that is on the main page of this repository?

Thank you for this library!

https://github.com/pavelbabenko/react-native-awesome-gallery/assets/108643771/adcd229a-7f38-4829-96af-dd4cdd00e9fa

pavelbabenko commented 11 months ago

Hi @ori9998 I have removed shared transition because I moved example to expo, but shared transition required a native module. Example included shared transition before 0.3.6: Here is a code from v0.3.5, you can find what you need there: https://github.com/pavelbabenko/react-native-awesome-gallery/tree/d11758e8b615422f6772577179ae82d5ea937b90

ori9998 commented 11 months ago

Thank you!