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

Deselect cells with animation doesn't animate #147

Open
dirkvdb opened this issue Jun 3, 2012 · 0 comments
Open

Deselect cells with animation doesn't animate #147

dirkvdb opened this issue Jun 3, 2012 · 0 comments

Comments

@dirkvdb
Copy link

dirkvdb commented Jun 3, 2012

Calling

[self.gridView deselectItemsAtIndexPaths:[self.gridView indexPathsForSelectedCells] animated:YES];

does not cause the deselection to occur with an animation.

I set some breakpoints and think the problem is that this call triggers multiple deselection code, and the first one doesn't animate

In KKGridViewCell first setPressedState is called which will do _selectedBackgroundView.alpha = 0.f; without animation, next setSelected with a nimation gets called which will try to do the animation but the background is already invisible.

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

1 participant