-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Typing a multi-line message makes chat scroll up (then you have to scroll to see new messages) #3763
Comments
Oh thanks this is annoying me so much, I tried to report it once, but then when I failed to reproduce it on purpose |
Ok, a few discoveries. I wrote this test simple bench: HTML<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body style="height: 100vh; display: flex; flex-direction: column; margin: 0;">
<section style="overflow-y: auto; flex-grow: 1;
max-width: 100%;">
<ol style="margin: 0;">
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
<li>sample message</li>
</ol>
</section>
<section>
<textarea style="height: 10px"></textarea>
</section>
<!-- <style>
ol > *:not(:last-child) {
overflow-anchor: none;
}
</style> -->
</body>
</html> And the issue is also present there, so I suppose it's not something specific to Delta Chat. What I found is sometimes the message list stays scrolled down under specific circumstances:
scroll.bug.mp4This looks Chromium-internal. This behavior is not reproducible on Firefox. I suppose a hacky solution would be to, on initial render
I also looked at Signal code (which doesn't have this issue) and played around with it using dev tools ( This is where they use the element. They set |
Closes #3753 Closes #3763 WIP because see #3753 (comment) Uploading this purely for journaling purposes for now.
...when typing a multi-line message, quoting a message, or adding an attachment, because that would cause the chat to "scroll up" due to its resize. Closes #3763
...when typing a multi-line message, quoting a message, or adding an attachment, because that would cause the chat to "scroll up" due to its resize. Closes #3763
...when typing a multi-line message, quoting a message, or adding an attachment, because that would cause the chat to "scroll up" due to its resize. Closes #3763
...when typing a multi-line message, quoting a message, or adding an attachment, because that would cause the chat to "scroll up" due to its resize. Closes #3763
...when typing a multi-line message, quoting a message, or adding an attachment, because that would cause the chat to "scroll up" due to its resize. Closes #3763
Operating System (Linux/Mac/Windows/iOS/Android): Windows
Delta Chat Version: 1.44.0
Expected behavior: The last message stays visible
Actual behavior: The chat scrolls up a little and the last message is obstructed. If new messages arrive, they are also obstructed.
Steps to reproduce the problem:
Screenshots:
ShareX_d0v9X0VFxQ.mp4
Logs: none
On the video I've caught a rare case where this doesn't happen for a few lines, but then it starts happening again.Update: see #3763 (comment).
I always found it about the most annoying thing about Delta Chat Desktop.
Workaround: keep pressing "Page Down" while you're writing your message.
Related:
The text was updated successfully, but these errors were encountered: