meliorence / meliorence/react-native-snap-carousel

Add option to limit number of scrolled items to 1

Open
#296 8 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted react-native bug
Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Is this a bug report or a feature request?

Feature Request

Have you read the guidelines regarding bug report?

Yes

Have you read the documentation in its entirety?

Yes

Description

would be great to enable a mode where users only fling one element at a time: no matter how quick the gesture is, only the next element should be centered.
Maybe this is already possible but I haven't found it anywhere in the documentation or the examples.

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

Review the carousel documentation and examples to confirm whether an existing option already controls fling behavior. Trace the gesture and scrolling behavior, then add a mode that advances by only one centered item regardless of gesture speed and document how to enable it.

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.