lelandrichardson / lelandrichardson/react-native-pan-controller
How to get the final animated value after user interaction
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 180
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
The user interaction is not only driving the animation. It is a user input as well. What is the practical way to get the final value after user interaction and animation in pan controller ( decay, snap, etc ) are finished. It seems that onRelease(XY) is not the way for this purpose. Thanks.
Contributor guide
No contributing guide indexed for this repository
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
Read the public pan controller API around onRelease(XY) and trace the decay and snap lifecycle described in the issue. Determine whether a completion callback or final animated value is already exposed; done means providing a documented, testable way to retrieve the value after interaction and animation finish.
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
- 25/100