Remove drag / deceleration check
This commit is contained in:
parent
8e1a654479
commit
bb3fe556e2
|
@ -420,9 +420,7 @@ private extension TableViewController {
|
||||||
guard let self = self else { return }
|
guard let self = self else { return }
|
||||||
|
|
||||||
if let itemId = update.maintainScrollPositionItemId,
|
if let itemId = update.maintainScrollPositionItemId,
|
||||||
let indexPath = self.dataSource.indexPath(itemId: itemId),
|
let indexPath = self.dataSource.indexPath(itemId: itemId) {
|
||||||
!self.tableView.isDragging,
|
|
||||||
!self.tableView.isDecelerating {
|
|
||||||
if update.shouldAdjustContentInset {
|
if update.shouldAdjustContentInset {
|
||||||
self.tableView.contentInset.bottom = max(
|
self.tableView.contentInset.bottom = max(
|
||||||
self.tableView.safeAreaLayoutGuide.layoutFrame.height
|
self.tableView.safeAreaLayoutGuide.layoutFrame.height
|
||||||
|
|
Loading…
Reference in New Issue