With the January 2024 updates, VS Code has enabled the “Sticky Scroll” feature by default in tree views, meaning that some folders remain sticky at the top when navigating through the project trees.
Many users reported they do not like this feature, so in this short post, I’ll show you how to turn it off.
Related: VS Code Sticky Scroll in the Editor
Turn it OFF
Press CTRL
+ ,
(comma) and search for “tree sticky scroll”.
Find Workbench > Tree: Enable Sticky Scroll
and disable it.
You can do so as well in your settings.json
file:
"workbench.tree.enableStickyScroll": false
🎥 Prefer a video instead?
Let me know what you think about this article in the comments section below.
If you find this article helpful, please share it with others and subscribe to the blog to support me, and receive a bi-monthly-ish e-mail notification on my latest articles.