Weird animation with last cells
penpens opened this issue Β· comments
Hi,
First of all thanks for this repo π
I just have to report a weird animation with the last cells.
I attach a video of the animation.
Cheers
Hi penpens,
I had the same issue. The weird animation is more related to the UITableView behaviour, rather than to the folding cell.
This solved my issue - https://forums.developer.apple.com/thread/86703
fix that works for me
if func tableView(didselectrowat...)
in block uiview.animate add next block of code after tableView.endupdates()
"if cell.frame.maxY > tableView.frame.maxY {
tableView.scrollToRow(at: indexPath, at: UITableView.ScrollPosition.bottom, animated: true)
}"