You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not able to find an open issue that reports the same bug
Environment
- OS:
- Sidecar commit:
- IDE commit:
Description
Right now in the AideAgent panel, we already have autoscroll set up. But sometimes when there is a diff element that comes in, the diff element actually grows in both directions - it grows larger and it grows smaller. When it grows smaller, the scrolling autoscroll logic that we have doesn't automatically scroll to the bottom and it actually gets stuck to the last scroll position. Ideally, regardless of whether it is increasing or decreasing in size, the autoscroll should work.
Reproduction
No response
Log output
The text was updated successfully, but these errors were encountered:
🔄 Bug Fix: Resolved scroll issue in AideAgent chat panel when diff elements change size
Fixed: Improved onDidChangeTreeContentHeight method in ChatWidget class to maintain scroll position at the bottom during both growth and shrinkage of diff elements
Changed: Implemented more reliable "near bottom" detection and consistent auto-scrolling behavior with clearer variable names and comments
This fix ensures the chat view remains properly positioned during dynamic content changes, especially when diff elements collapse. Please review the changes and confirm the scrolling behavior works as expected in all scenarios.
Before submitting your bug report
Environment
Description
Right now in the AideAgent panel, we already have autoscroll set up. But sometimes when there is a diff element that comes in, the diff element actually grows in both directions - it grows larger and it grows smaller. When it grows smaller, the scrolling autoscroll logic that we have doesn't automatically scroll to the bottom and it actually gets stuck to the last scroll position. Ideally, regardless of whether it is increasing or decreasing in size, the autoscroll should work.
Reproduction
No response
Log output
The text was updated successfully, but these errors were encountered: