meliorence / meliorence/react-native-snap-carousel

Change direction of carousel from left -> right to right -> left.

Open
#906 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Hello there, I would like to know if there's a way to change the direction of the slide from Left -> Right to Right -> Left.
I've tried to set firstItem param as array length of data, but the problem is the array length changes by API call.

Thank you so much.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by locating the carousel's direction handling and the firstItem prop in the React Native component and its documentation. Verify how direction behaves when the item count comes from an API, and consider the work done when a carousel can reliably slide right-to-left without relying on a fixed array length.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.