meliorence / meliorence/react-native-snap-carousel
How to stop snap if a specific condition doesn't meet.
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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