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

Expansion is not animated correctly #18

Closed
andepopande opened this issue Oct 2, 2014 · 3 comments
Closed

Expansion is not animated correctly #18

andepopande opened this issue Oct 2, 2014 · 3 comments

Comments

@andepopande
Copy link

The expansion is not correctly animated when the threshold is reached.
You can reproduce this in the MailAppDemo.

  • Open MailAppDemo
  • Swipe first cell from left to right -> "Mark as read" gets visible
  • Swipe more and more until the threshold is reched

Expected: the blue button animates to the expanded button

Actual: the blue button does not animate, it is expanded immediately

The unexpansion-animation works as expected. You can check this by swiping a few pixels to the left until the threshold is reached -> the button animates correctly to the smaller size. So the "make button smaller" animation is working, the "make button bigger" animation not.

@andepopande
Copy link
Author

You can see the issue in code:

The [UIView animateWithDuration: in expandToOffset: is NOT working correctly.
The [UIView animateWithDuration: in endExpansioAnimated: is working correctly.

@MortimerGoro
Copy link
Owner

Fixed in the latest version. Also improved the animation with multiple buttons. Thanks for the bug report.

@andepopande
Copy link
Author

Awesome, thanks a lot 👍

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

2 participants