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

Flickering CollectionBrick's #28

Closed
rubencagnie opened this issue Nov 7, 2016 · 0 comments
Closed

Flickering CollectionBrick's #28

rubencagnie opened this issue Nov 7, 2016 · 0 comments
Labels

Comments

@rubencagnie
Copy link
Contributor

When repeating a ton of CollectionBrick's,it seems like the CollectionBrick's are constantly reloading, resulting in flickering CollectionBrick's

@rubencagnie rubencagnie added the bug label Nov 7, 2016
rubencagnie added a commit that referenced this issue Nov 7, 2016
If the CollectionBrick has bricks with heights that are calculated using AutoLayout, the `sizeChangedHandler` was called during layoutSubviews, which caused a reload but the height wasn’t yet calculated

Fixed by adding a flag that indicates if the CollectionBrick is currently calculating the layout

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

No branches or pull requests

1 participant