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
Terminal scroll bar appears on top after hiding and displaying it #12574
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
I think what's happening here is that hiding the element is setting the viewport's scroll area scrollTop to 0, then displaying it again triggers a refresh but nothing has changed so it doesn't try to update the scrollTop value.
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
Activity
Tyriar commentedon Sep 26, 2016
I think what's happening here is that hiding the element is setting the viewport's scroll area
scrollTopto 0, then displaying it again triggers a refresh but nothing has changed so it doesn't try to update thescrollTopvalue.Tyriar commentedon Sep 26, 2016
That is wrong, setting display none then block works fine.
Tyriar commentedon Sep 26, 2016
It appears the panel is removed from the DOM and not hidden when the panel is hidden, this would reset the state of the scroll bar.
Sync scroll bar after panel is toggled