kkemple / kkemple/react-native-sideswipe

Display only 1 image in the center and no left/right neighbors

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
900
Forks
69
PR merge metrics
No merged PRs in 30d

Description

- [x] I ran `[envinfo](https://www.npmjs.com/package/envinfo)` and added results to issue (if bug related) // <-- This is not needed since this is a usage question
- [x] I created a reproduction example in [expo](https://snack.expo.io) (if bug related)

See Expo example at https://snack.expo.io/@evanchan/sideswipe-issue.

I want to use the sideswipe to display 1 image at a time in the center, which is similar to:
![image](https://user-images.githubusercontent.com/17229109/53318011-9b110a80-3882-11e9-9b95-3b2127f5d93a.png)

However, what I am getting is:
![image](https://user-images.githubusercontent.com/17229109/53318101-f4793980-3882-11e9-8a76-db5571092c4b.png)
![image](https://user-images.githubusercontent.com/17229109/53318108-fba04780-3882-11e9-8076-ebe29aafcdf0.png)

I don't want to show left and right neighbor of the image in the center. What is the right way to do it, or is it possible?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the linked Expo Snack reproduction and reading the react-native-sideswipe usage and configuration shown there. Determine whether an existing option supports hiding neighboring images; done means one image is displayed centered without left or right neighbors.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.