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

Reading a message causes the inbox tab to scroll to the top #595

Open
duogenesis opened this issue Jan 26, 2025 · 0 comments
Open

Reading a message causes the inbox tab to scroll to the top #595

duogenesis opened this issue Jan 26, 2025 · 0 comments

Comments

@duogenesis
Copy link
Member

duogenesis commented Jan 26, 2025

It's irritating, especially for users with big inboxes. The fact that it affects users with big inboxes means this issue disproportionately affects women.

The current architecture is wrong. Individual inbox components (i.e. conversations) should listen for updates and update themselves individually. The list which holds those components should only update if conversations are added or removed. You should use Reanimated's FlatList as it nicely animates additions, removals, and reorderings.

Switching between tabs and the archive should preserve the scroll position too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant