Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom view, on swipe shows current view as previous and next view #376

Open
tiagocorreiaalmeida opened this issue May 19, 2020 · 0 comments

Comments

@tiagocorreiaalmeida
Copy link

tiagocorreiaalmeida commented May 19, 2020

Steps to reproduce the behavior:

Here's the sandbox to test the behaviour and the actual code:
https://s9wz2.csb.app/
https://codesandbox.io/s/react-images-custom-view-s9wz2?file=/src/App.tsx

Expected behavior:
I expected that the swipe animation would keep as the standard one, this means if I swipe left I would see the previous view and if I swipe right I would see the next view

Actual behavior:
During the swipe moment we see as the previous and next view the current view

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

No branches or pull requests

1 participant