folding-cell
folding-cell copied to clipboard
Proposed an animation fix
Summary
- Fixed scroll-to-bottom condition so that both sides are relative y-coordinates.
cell.frame.maxY > tableView.frame.maxYshould becell.frame.maxY > tableView.frame.maxY + tableView.contentOffset.y - Enabled scrolling to the top of the cell, when some of top part of this cell is across the upper edge of the table view (that is, hidden) and is tapped to unfold.