Scroll to highlighted event better

This commit is contained in:
ismailgulek
2022-01-21 00:59:01 +03:00
parent 6cf5e15d70
commit d22a8d5862
+4 -1
View File
@@ -6593,7 +6593,10 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
if ([[self.bubblesTableView indexPathsForVisibleRows] containsObject:indexPath])
{
[self.bubblesTableView reloadRowsAtIndexPaths:@[indexPath]
withRowAnimation:UITableViewRowAnimationAutomatic];
withRowAnimation:UITableViewRowAnimationNone];
[self.bubblesTableView scrollToRowAtIndexPath:indexPath
atScrollPosition:UITableViewScrollPositionMiddle
animated:YES];
}
else if ([self.bubblesTableView vc_hasIndexPath:indexPath])
{