-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[MM-24507] Affix comment input to bottom in right-hand side (RHS) #5470
[MM-24507] Affix comment input to bottom in right-hand side (RHS) #5470
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bradjcoughlin this should only pin the box when there are enough posts in the RHS to fill it:
@esethna Yep, that's right. Back to the drawing board. |
@esethna this is ready to test but the builds are failing. I'll check on it again in awhile. |
/update-branch |
/update-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@esethna can you explain what's going on there? Is it getting cut off even when scrolled to the bottom? |
@bradjcoughlin there is a padding around the RHS input box that shouldn't be there (see the center pane in comparison). Only occurs when scrolled up in a thread |
/update-branch |
@jgilliam17 I opened the test server in Safari and discovered that scrolling in the RHS isn't working at all. Investigating now. |
Great catch, I missed that. |
…m/bradjcoughlin/mattermost-webapp into MM-24507-rhs-comment-fixed-bottom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @bradjcoughlin
Tested, looks good to merge.
- Verified comment input box is fixed to bottom in RHS, stays in view on extended threads.
(Checked on Safari, Chrome, Edge & Firefox + Desktop)
Test server destroyed |
/update-branch |
@bradjcoughlin Looks like this wasn't cherry-picked yet. |
/cherry-pick release-5.24 |
Error trying doing the automated Cherry picking. Please do this manually
|
) * move comment box outside of scrollbars so it “sticks” * update snapshot * scrollbars autoheight, let scrollbars manage scrollToBottom * update unit tests * lint rolling : ) * remove padding above comment input * scroll to bottom is RHS thread is refocused * fix test for typescript * type check errors * add padding to rhs thread, typescript fixes * use native scrollbars
…RHS) (mattermost#5470)" This reverts commit 957c9a9.
Summary
Currently, the comment input box will scroll out of view on longer threads. This change moves the input out of the scrollbars so it stays visible at all times.
Ticket Link
https://mattermost.atlassian.net/browse/MM-24507