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

Configure Bounce/Spring Feature #33

Open
timothywisdom opened this issue Apr 27, 2015 · 1 comment
Open

Configure Bounce/Spring Feature #33

timothywisdom opened this issue Apr 27, 2015 · 1 comment

Comments

@timothywisdom
Copy link

Is there a configuration option to remove the bounce feature when you let go of a card and it bounces back into place (with throwout or throwin)? It would be great if we could configure both bounces for throwout and throwin events separately.

For example, I'd like to have a spring/bounce when the card is thrown onto the stack but not when it is thrown off the stack (because I want to do some other custom animation to make it fly off the screen and the spring makes it bounce back before the animation kicks in).

@timothywisdom timothywisdom changed the title Remove bounce feature Configure Bounce/Spring Feature Apr 28, 2015
@wbrickner
Copy link

I'm actually working on this a little bit because I need this feature. You just gotta dive into the source and figure out how it works and change it. I found that much if not all of the high-level spring logic is in the Card.js file in /src, and you can use web-pack to make your own minified js file. I might generalize and beautify it and make a pull request in the future? Shouldn't be too hard to implement most of the stuff you're asking for. Take a look for youself in Card.js!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants