Discussion open-scroll: land at start of latest reply item (poll or comment)#467
Open
Discussion open-scroll: land at start of latest reply item (poll or comment)#467
Conversation
Co-authored-by: netchampfaris <9355208+netchampfaris@users.noreply.github.com>
Co-authored-by: netchampfaris <9355208+netchampfaris@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix thread opening behavior to jump to start of last reply
Discussion open-scroll: land at start of latest reply (not thread bottom)
Mar 5, 2026
Contributor
|
@copilot instead of the start of last "comment" it should be scrolled to start of last poll or comment |
gameplan
|
||||||||||||||||||||||||||||||
| Project |
gameplan
|
| Branch Review |
copilot/fix-thread-jump-location
|
| Run status |
|
| Run duration | 00m 52s |
| Commit |
|
| Committer | Copilot |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
7
|
Upgrade your plan to view test results. | |
| View all changes introduced in this branch ↗︎ | |
Co-authored-by: netchampfaris <9355208+netchampfaris@users.noreply.github.com>
Co-authored-by: netchampfaris <9355208+netchampfaris@users.noreply.github.com>
Contributor
Author
Updated in commit |
Copilot
AI
changed the title
Discussion open-scroll: land at start of latest reply (not thread bottom)
Discussion open-scroll: land at start of latest reply item (poll or comment)
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Opening a long discussion from list view currently jumps to the bottom of the latest reply, which hides the beginning of that message. This change makes discussion open-scroll anchor to the start of the latest reply item instead.
Behavior change (discussion threads)
frontend/src/components/CommentsArea.vue, default open-scroll now targets the latest reply item across both comments and polls (whichever is newer bycreation) when no explicitcomment/pollquery is present and navigation is not from search.onSuccesshandlers to stay correct regardless of load order.scrollToEnd()).Element targeting reliability
timelineItemElements) populated viasetItemRef(...).getTimelineItemKeyfor:scrollToItemgetCommentContentElementRepresentative diff
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.