leecade / leecade/react-native-swiper
on Swipe release not possible
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hello
we in the team are using the Component
The component is only a part of the Screen and we have above the component some fields, that are updated when we swipe true.
We are using the Method "onMomentumScrollEnd" to update the fields above the Swipe Component. The Method is called ass soon the Swipe Animation is finished.
Is there a possibility to call the update Function as soon the Finger is released from the screen (at the same time it should also already be known on witch site the view will stay)?
Thank you for any ideas.
Regards
Nejc
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
Start by locating the React Native Swiper component's handling of onMomentumScrollEnd and the gesture events available when the finger is released. Determine whether the destination page is known at release time, then define an event or callback that exposes that page before the swipe animation completes. Done means the surrounding fields can update immediately on release while the final view is already identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100