jossmac / jossmac/react-images
Custom view, on swipe shows current view as previous and next view
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 433
- PR merge metrics
- No merged PRs in 30d
Description
**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
Contributor guide
Research direction
Reproduce the issue in the linked CodeSandbox, starting with src/App.tsx and the custom-view setup. Compare the swipe animation in the sandbox with the standard behavior; done means swiping shows the previous and next views rather than the current view during the animation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100