UITableViewCell animation bug in `moveRowAtIndexPath:toIndexPath:` while using `estimatedRowHeight` and `UITableViewAutomaticDimension`

Originator:timothyarnold
Number:rdar://19156703 Date Originated:05-Dec-2014 10:52 AM
Status:Open Resolved:
Product:iOS Product Version:8.1.1 (12B436)
Classification:Enhancement Reproducible:Always
 
When using moveRowAtIndexPath:toIndexPath: to move a UITableViewCell, I'm seeing an animation glitch when using estimatedRowHeight and UITableViewAutomaticDimension when the cell animates from a visible state to a non-visible state.

The issue disappears if I explicitly set the height of cells by implementing tableView:heightForRowAtIndexPath:. The issue only appears when the source and destination index paths are visible and non-visible, respectively. When the cell is moving to another visible index path, the animation behaves as expected.

I've created a sample project to illustrate the effect: https://github.com/timarnold/Table-Cell-Sizing-Bug

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!