Skip to content
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 timeline scrolling issues #276

Closed
stefanceriu opened this issue Oct 31, 2022 · 0 comments
Closed

Fix timeline scrolling issues #276

stefanceriu opened this issue Oct 31, 2022 · 0 comments
Assignees
Labels
Z-BBQ-Beta Required for ElementX - BBQ - Beta

Comments

@stefanceriu
Copy link
Member

stefanceriu commented Oct 31, 2022

The current timline list is based on a very fragile collection view introspection method. After moving to iOS16 we should try to replace it with a LazyVStack (for performance reasons too) and try building it in a more SwiftUI fashion

@stefanceriu stefanceriu self-assigned this Oct 31, 2022
stefanceriu added a commit that referenced this issue Nov 1, 2022
- Removed the need for the ListCollectionViewAdapter
- Rewrote the TimelineItemList without using introspection
- Added ReversedScrollView for laying out items at the bottom/trailing
- Rewrote TimelineProvider diffing through CollectionDifference (similar to the RoomSummaryProvider)
- Added back `scrollDismissesKeyboard`  behavior
- Various other tweaks and fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-BBQ-Beta Required for ElementX - BBQ - Beta
Projects
None yet
Development

No branches or pull requests

1 participant