leecade / leecade/react-native-swiper

on Swipe release not possible

Open
#398 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

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.