Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swipe delay #2

Open
prabinjoel opened this issue May 12, 2018 · 2 comments
Open

Swipe delay #2

prabinjoel opened this issue May 12, 2018 · 2 comments

Comments

@prabinjoel
Copy link

There is a noticeable delay between swipes.

@Rakeda
Copy link

Rakeda commented Dec 10, 2018

Hey man, this is due to the Animated.spring function. To resolve this just add a high speed in the speed settings on the config. Ex:

Animated.spring(this.position, {
            toValue: { x: SCREEN_WIDTH + 100, y: gestureState.dy },
            speed: 100
          })

@winocencio
Copy link

winocencio commented Mar 6, 2019

@prabinjoel If you are calling about Tinder UI Swipe, just add {...this.PanResponder.panHandlers} in else statement in renderUsers function.

winocencio added a commit to winocencio/React-Native-Layout-Tutorial-Series that referenced this issue Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants