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

Weird scroll-animation/jumps in Chat #2232

Open
r10s opened this issue Jul 11, 2024 · 0 comments
Open

Weird scroll-animation/jumps in Chat #2232

r10s opened this issue Jul 11, 2024 · 0 comments
Labels

Comments

@r10s
Copy link
Member

r10s commented Jul 11, 2024

sometimes, there is some unneeded scrolling of the message list:

instead of just shifting the view some pixels up in case of a new message,
scrolling takes place from the very top to the bottom.

this issue is pretty old, but here is a way to get a reproducible comparison with correct scrolling:

  • open a filled the "Saved Messages" chat
  • send a first short message "s1" -> scrolling is fine, just a few pixels up
  • send a second short message "s2" -> scrolling from very top to the bottom, same for subsequent messages from the same device

leave the "Saved Messages" chat open, but now send a message from another device:

  • messages "o1", "o2" -> scrolling is fine, just a few pixels up
  • from same device, "s3", again -> scrolling from very top to the bottom

so, question is, what is the difference between wrong s2, s3 and fine s1, o1, o2

RPReplay_Final1720705004.mov

(ignore the flickering scroll down button, see here)


Note to self:

let messageId = ui["message_id"] as? Int ?? 0
if messageId > 0 {
    let msg = self.dcContext.getMessage(id: messageId)
@r10s r10s added the bug label Jul 11, 2024
@zeitschlag zeitschlag changed the title unneeded scrolling of message list sometimes Weird scroll-animation/jumps in Chat Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant