Skip to content

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

@tiagocorreiaalmeida

Description

@tiagocorreiaalmeida

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions