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
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: 1.134.0
OS Version: Sonoma 14.0 (23A344)
Steps to Reproduce:
Create a directory structure with long file/folder names (or deep nesting) so that a horizontal scrollbar appears in the file explorer view.
Drag the horizontal scrollbar all the way to the left (to the very start of the tree).
Select any file or folder.
Invoke the rename command – either via the context menu (right-click → Rename) or using a keyboard shortcut.
Actual result:
After the rename action is triggered, the whole tree / directory structure shifts to the right (the horizontal scroll position jumps to the right). This forces the user to scroll back left to see the beginning of the names.
Screen.Recording.2026-08-25.at.03.11.42.mov
Expected result:
The horizontal scroll position should remain unchanged when the rename command is called. The tree should stay in place; only the inline rename input field should appear without affecting the overall scroll offset.
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: 1.134.0
OS Version: Sonoma 14.0 (23A344)
Steps to Reproduce:
Actual result:
After the rename action is triggered, the whole tree / directory structure shifts to the right (the horizontal scroll position jumps to the right). This forces the user to scroll back left to see the beginning of the names.
Screen.Recording.2026-08-25.at.03.11.42.mov
Expected result:
The horizontal scroll position should remain unchanged when the rename command is called. The tree should stay in place; only the inline rename input field should appear without affecting the overall scroll offset.