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

Scroll to bottom (#2260) #2261

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Scroll to bottom (#2260) #2261

merged 1 commit into from
Aug 9, 2024

Conversation

zeitschlag
Copy link
Collaborator

@zeitschlag zeitschlag commented Aug 9, 2024

The culprit was let numberOfRows = self.tableView.numberOfRows(inSection: 0) it seems. (My educated guess is that tableView wasn't ready.) From now on it checks for messageIds.count

Also: Cleanup (some self here, but not there, but for incoming message the same happens as for outgoing messages)

Closes #2260.

@zeitschlag zeitschlag self-assigned this Aug 9, 2024
@zeitschlag zeitschlag linked an issue Aug 9, 2024 that may be closed by this pull request
Copy link
Member

@r10s r10s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me, the bug is gone!

Base automatically changed from 2242-events-on-main to main August 9, 2024 13:12
@zeitschlag zeitschlag marked this pull request as ready for review August 9, 2024 13:18
@zeitschlag zeitschlag merged commit 86dcdec into main Aug 9, 2024
1 check passed
@zeitschlag zeitschlag deleted the 2260-scroll-down branch August 9, 2024 13:45
@zeitschlag zeitschlag modified the milestones: 1.46.8, 1.46.9 Aug 10, 2024
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

Successfully merging this pull request may close these issues.

Chat doesn't scroll to bottom when I send a message
2 participants