Tab bar should not scroll horizontally after closing a tab #74871
Labels
feature-request
Request for new features or functionality
*out-of-scope
Posted issue is not in scope of VS Code
workbench-tabs
VS Code editor tab issues
When closing an active tab with a mouse click, the tab bar will scroll horizontally when the newly active tab is not in view. This behavior can cause a workflow problem when your goal is to close multiple tabs in the same general location in the tab bar, and one of the tabs you want to close is the active editor.
Steps to Reproduce:
This problem becomes compounded when you are reorganizing and closing multiple tabs as part of your workflow because changing the location of a tab makes it active, which affects the z-order of the editors.
In my opinion, the tab bar should not change it's horizontal scroll position when closing a tab via a mouse click in the tab bar, even if the next currently active editor's tab is not in view. Or perhaps delay the scroll action until the mouse is moved out of the tab bar.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: