[CIS-2084] Fix message list jumps by removing the inverted table view #2208
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔗 Issue Links
CIS-2084
#2094
🎯 Goal
Fx the jumping issues we currently have with the inverted table view solution.
📝 Summary
The inverted table view is the root cause of the jumps. Since our message list cells have unpredictable heights, especially because they can be totally customizable, the table view can't properly calculate the new content size of the table when new messages are being inserted. The jumps are basically caused by this, and when the message is not inverted, this is not a problem, because the table view grows to the bottom of the screen.
This solution tries to remove the need for inverting the table view by:
This implementation requires some UX changes:
Known Issues:
Why it is draft:
🎨 Showcase
Simulator.Screen.Recording.-.iPhone.12.-.2022-08-02.at.18.56.08.mp4
Simulator.Screen.Recording.-.iPhone.12.-.2022-08-02.at.18.54.50.mp4
Simulator.Screen.Recording.-.iPhone.12.-.2022-08-02.at.18.54.06.mp4
🧪 Manual Testing Notes
Full regression is required
☑️ Contributor Checklist