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
{{ message }}
Repository navigation
Console/Output don't maintain their scroll position when hide/show panel, terminal does #12937
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
Have some output in the Debug Console or Output pane.
Scroll up
Hide the panel
Show the panel
Now they are scrolled all the way down
That might be ok, but if you repeat the same steps for the terminal, it maintains its scroll position across show/hide. I like that behavior better. Either way, I think it should be consistent.
So the terminal had an issue with this recently where hiding and displaying was keeping the viewport where it was but the scroll bar was being pushed to the top. The reason this happens is because the element is detached and re-attached to the DOM which does not maintain the scrollTop position.
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
Activity
isidorn commentedon Sep 28, 2016
We should maintain scroll position
Tyriar commentedon Sep 28, 2016
So the terminal had an issue with this recently where hiding and displaying was keeping the viewport where it was but the scroll bar was being pushed to the top. The reason this happens is because the element is detached and re-attached to the DOM which does not maintain the
scrollTopposition.Might be useful in finding a fix: #12574, xtermjs/xterm.js#291
Console output - maintain scroll position