Submitting new message in thread jumps user to top of thread

Created on 30 January 2023, about 2 years ago

Problem/Motivation

When submitting new message in a thread, ajax fires and jumps user to top of thread.

Steps to reproduce

Create a thread between 2 users.
Send messages back and forth until you have to scroll down to see the message textarea.
Send another message in the thread and hit the submit button.
The ajax "Please wait..." spinner shows and once it completes, the user is now jumped to the top of the page.
The message is added into the thread properly, but the user now has to scroll all the way down to see it.

Proposed resolution

When a user submits a message, the page should not jump to the top. The user should see the message appended to the message list above.

Remaining tasks

Implement

User interface changes

TBD

API changes

TBD

Data model changes

TBD

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada sagesolutions

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024