-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
message_view: For message sent by current user, always scroll into view. #29398
Conversation
Hello @zulip/design members, this pull request was labeled with the "UI experiment" label, so you may want to check it out! |
This looks like it correctly implements what we specified. I believe it scrolls an amount equal to the height of the newly added messages. |
Just bumping this up @alya |
Hm, this isn't what I was imagining, but it actually feels pretty reasonable when I test it. Let's try it out on CZO and go from there. |
Now whenever the bottom of the feed is visible, we always scroll to the message/s just sent by the current user, updating the selected message if necessary. Scroll behaviour for messages sent by other users remains unchanged. Fixes: zulip#23298.
Merged, thanks @N-Shar-ma! |
Now whenever the bottom of the feed is visible, we always scroll to the message/s just sent by the current user, updating the selected message if necessary.
Scroll behaviour for messages sent by other users remains unchanged.
Fixes: #23298.
Screenshots and screen captures:
Before sending:
New message scrolled into view on sending:
Self-review checklist
(variable names, code reuse, readability, etc.).
Communicate decisions, questions, and potential concerns.
Individual commits are ready for review (see commit discipline).
Completed manual review and testing of the following: