-
Notifications
You must be signed in to change notification settings - Fork 76
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
Reordering dynamically sized cells causes content to jump around significantly #6
Comments
Great one @adamshin. I think the issue is the cells move the movement of the cells then trigger another move which causes a loop. I believe similar logic to whats here might fix this up although I could be wrong. https://github.com/Raizlabs/LXReorderableCollectionViewFlowLayout/blob/master/LXReorderableCollectionViewFlowLayout/LXReorderableCollectionViewFlowLayout.m#L157 |
Thanks for the tip, I'll take a look at that. |
@ay8s Spent some time debugging this today -- unfortunately, it appears to be a UIKit issue. 😞 Calling I wasn't able to come up with a satisfactory solution, so I'm going to table this for now. In the meantime, a workaround would be to calculate cell heights manually (the pre-iOS 8 way). |
just do this in viewcontroller to fix this jumping:
This fixed the issue on my side. |
Is there a way to implement these changes within the source itself so I don't have to add all this to each of my tableViews? |
I'm using extension for UITableView - https://github.com/APUtils/APExtensions/blob/master/APExtensions/Classes/Core/_Extensions/UITableView%2BUtils.swift#L82 Then it's just one line of code: |
Fixed in #67 |
This occurs when the content size is larger than the table view bounds. Probably an issue with cell height calculations.
The text was updated successfully, but these errors were encountered: