mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix half-empty list glitching when adding items
This commit is contained in:
parent
d3091f0abe
commit
4909bfcc17
@ -2413,7 +2413,7 @@ open class ListView: ASDisplayNode, UIScrollViewAccessibilityDelegate, UIGesture
|
||||
//print("replay after \(self.itemNodes.map({"\($0.index) \(unsafeAddressOf($0))"}))")
|
||||
}
|
||||
|
||||
if let scrollToItem = scrollToItem, !self.areAllItemsOnScreen() {
|
||||
if let scrollToItem = scrollToItem, !self.areAllItemsOnScreen() || updateSizeAndInsets == nil {
|
||||
self.stopScrolling()
|
||||
|
||||
for itemNode in self.itemNodes {
|
||||
|
Loading…
x
Reference in New Issue
Block a user