-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix message list jumps #1148
Fix message list jumps #1148
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1148 +/- ##
=======================================
Coverage 91.36% 91.36%
=======================================
Files 216 216
Lines 9215 9215
=======================================
Hits 8419 8419
Misses 796 796
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
collectionView.contentSize.height > collectionView.bounds.height, | ||
!didPerformInitialScrollToBottom { | ||
let offset = CGPoint(x: 0, y: collectionViewContentSize.height - restore) | ||
print("targetContentOffset(forProposedContentOffset) will restore \(offset)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, removed it ✅
34c489f
to
813879e
Compare
This PR fixes the issue when message list jumps if new message is sent OR if an old message is edited
no-jumps.mov