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