Changing the height of the TableView on scrolling resets the contentOffset

I discovered animation flickering that occurs when dragging down UITableView

. If the height of the UITableView changes while dragging the rubber band, it is contentOffset

set to contentInset

when the table height change animation ends.

Here's a project reproducing the problem as well as poor performance. If you drag the table down, you should see the table contents flicker for a moment.

Anyone have any ideas for a better workaround?


source to share

All Articles