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

snapToItem animation with ease #316

Closed
QQizi opened this issue Apr 30, 2018 · 3 comments
Closed

snapToItem animation with ease #316

QQizi opened this issue Apr 30, 2018 · 3 comments

Comments

@QQizi
Copy link

QQizi commented Apr 30, 2018

Is this a bug report or a feature request?

Feature request

Is it possible to snapToItem with animated as true with an ease ? So the animation look a little bit more natural ?

Have you read the guidelines regarding bug report?

Yes

Have you read the documentation in its entirety?

Yes

Have you made sure that your issue hasn't already been reported/solved?

Yes

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

Both

Is the bug reproductible in a production environment (not a debug one)?

Yes

Have you made sure that it wasn't a React Native bug?

Yes

Have you been able to reproduce the bug in the provided example?

Yes

Environment

React: 16.0.0
React native: 0.50.3
react-native-snap-carousel: 3.5

Steps to Reproduce

I'm using this plugin as a wheel that the user is supposed to throw. I want to add a button for the throw to happen. I'm using snapToItem with animated, works fine but the animation have no ease and is not natural. Is there a way to add an ease to snapToItem ?

Actual Behavior

(Write what happened. Add screencasts/screenshots!)

@jonixj
Copy link

jonixj commented May 2, 2018

+1 The snap effect feels very unnatural.

@bd-arc
Copy link
Contributor

bd-arc commented May 3, 2018

@QQizi I totally get what you're after, and I'd really love to be able to implement it, but unfortunately this is out of my hands. Unless the Facebook team improves the ScrollView component and provides an option to do so, there is nothing I can do about it.

See #203 for more info and to vote for React Native's feature request.

@bd-arc bd-arc closed this as completed May 3, 2018
@bd-arc
Copy link
Contributor

bd-arc commented May 3, 2018

See also #189 ;-)

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