meliorence / meliorence/react-native-snap-carousel

How to stop snap if a specific condition doesn't meet.

Open
#880 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

Hi. I want to check a specific condition before snapping. If condition meets, index will be shift to next item, otherwise current snap will be stoped and carousel will not show next item.
I tried to find in library but didn't found any specific method for this.

Please help

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 file, test, or entry point. Start by locating the carousel's snapping and item-advance handling, then determine whether a condition can prevent advancement; done would be a clearly defined way to retain the current item when the condition fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.