meliorence / meliorence/react-native-snap-carousel

how to detect slide animation end??

Open
#1,001 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

I have a carousel in the center of the screen, and there's a button at the top of the screen. While sliding the carousel left or right, it's possible to accidentally press the button, leading to undesired behavior.

I'd like to enable the button only after the carousel animation has completely finished. Is there a way to catch the completion of this animation?

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

No source file, test, or entry point is named; start by locating the carousel animation lifecycle and any documented callbacks. Done means identifying a supported completion signal that lets callers keep the button disabled until sliding ends, with coverage for the transition behavior.

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.