Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Added functionality like google photos zooming and swipe to skip #118

Closed

Conversation

manbir-app-curefit
Copy link

  1. Added swipe gesture on image while pan to zoom is also enabled
  2. Swipe to next and previous image only if image is not zoomed.

i.e., added functionality like google photos zooming and swipe to skip

2. Swipe to next and previous image only if image is not zoomed.

i.e., added functionality like google photos zooming and swipe to skip
@ani4aniket
Copy link

@manbir-app-curefit A ton of thanks to you for this PR, it saved my lot of effort to implement this feature, I was really struggling for. <3

@ArtemKolichenkov
Copy link
Collaborator

First of all - Thanks for the contribution.
However, I couldn't make it work and the code is a bit confusing for me to fix.
Also this.animatedScale._value always returns 0 if useNativeDriver set to true, so this should be done some other way to be supported on modern RN versions.

I'm now doing the cleanup for this repo (read more in #129). Using React-native-reanimated is on the roadmap (for the future major version) and these features will be improved. I will close this PR for now, but if you want to contribute please come back in a week when the code is a cleaned up and its a bit more clear what and how to go forward with this package. 🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants