Skip to content

fix(chat): preserve scroll position when a message arrives - #7073

Closed
kharazi68 wants to merge 1 commit into
nextcloud:masterfrom
kharazi68:fix/chat-scroll-on-new-message
Closed

kharazi68 wants to merge 1 commit into
nextcloud:masterfrom
kharazi68:fix/chat-scroll-on-new-message

Conversation

@kharazi68

@kharazi68 kharazi68 commented Nov 19, 2026 •

Copy link
Copy Markdown

Following a new message near the bottom can interrupt an active drag or fling. Follow only while the list is at rest, and compare server message IDs so a deletion or a pending local row does not look like an arrival.

Assisted-by: Codex:GPT-6

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • ...

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Following a new message near the bottom can interrupt an active drag or fling. Follow only while the list is at rest, and compare server message IDs so a deletion or a pending local row does not look like an arrival.

Assisted-by: Codex:GPT-6
Signed-off-by: Kharazi <kharazi68@gmail.com>
@mahibi

mahibi commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Thank you for contributing @kharazi68
It would be great if you could provide before/after videos to point out the behavior. Would you?

@kharazi68 kharazi68 closed this Nov 22, 2026
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.

2 participants