meliorence / meliorence/react-native-snap-carousel
how to detect slide animation end??
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
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
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