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

Bug: Disappearing and flashing TableViewCells #16

Open
FramusRock opened this issue Aug 24, 2014 · 1 comment
Open

Bug: Disappearing and flashing TableViewCells #16

FramusRock opened this issue Aug 24, 2014 · 1 comment

Comments

@FramusRock
Copy link

Hey,

First of all thanks for this neat drag-to-reorder addition!
But I've got some issues with it: Sometimes when I start dragging my TableViewCell will simply disappear (so the overlay that you use to still show it is not visible). When the user drags around, he will see an invisible spot moving.

Another thing that happens often is that when releasing the reordering, the cell released flashes for a split second between two different contents. So it shows the content of another cell, then switching back to its actual (and right) content.

@mtaufen
Copy link

mtaufen commented Feb 17, 2015

I was having a similar issue. I managed to fix it by implementing - (UITableViewCell*) cellIdenticalToCellAtIndexPath:(NSIndexPath *)indexPath forDragTableViewController:(ATSDragToReorderTableViewController *)dragTableViewController on my subclass. I think the problem was due to the fact that originally it would have just used a dequeued cell for the dragged cell under my setup, breaking the assumption that the view representing the dragged cell was separate from the cell supposedly under it at that index path (memory address comparison revealed them to be the same until I implemented that method).

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