Skip to content

Conversation

@shtse8
Copy link
Contributor

@shtse8 shtse8 commented Apr 5, 2025

This PR addresses issue #1280.

Previously, when interactive elements like API request or command execution buttons appeared in the chat view, the view would automatically scroll to the bottom, even if the user had manually scrolled up. This could interrupt the user's reading flow.

This change modifies the autoscroll logic to prevent this specific behavior. The chat will no longer automatically scroll down just because new buttons have rendered, unless the user is already scrolled to the bottom.


Important

Prevents unnecessary autoscroll in ChatView.tsx when new buttons appear unless user is at the bottom.

This description was created by Ellipsis for 338c3f7. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Apr 5, 2025

⚠️ No Changeset found

Latest commit: c1d191e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 5, 2025
@dosubot dosubot bot added the bug Something isn't working label Apr 5, 2025
@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap Apr 6, 2025
Copy link
Collaborator

@mrubens mrubens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work well for me! Great find 🙏

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 7, 2025
@mrubens mrubens merged commit 84c703e into RooCodeInc:main Apr 7, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from PR [Pre Approval Review] to Done in Roo Code Roadmap Apr 7, 2025
monotykamary pushed a commit to monotykamary/Roo-Code that referenced this pull request Apr 19, 2025
…ching mechanism, and fix the issue of inaccurate SEARCH-REPLACE delimiters generated by some large models through lookahead processing (RooCodeInc#2334)

* Fix the chat context menu removing UTF8 characters causing pure UTF8 character filenames not to display in the menu

* fix: Refactor the function constructNewFileContent using a state switching mechanism, and fix the issue of inaccurate SEARCH-REPLACE delimiters generated by some large models through lookahead processing

* Merge diff.ts with diff2.ts; Mark the original constructNewFileContent as @deprecated.

* Add detailed comments to explain test cases for nested markers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants