Closed dcalhoun closed 7 years ago
Thanks will investigate next week
@sQu1rr Took me awhile, but I believe I've tracked this bug's origin to your addition here. Do you remember why that was added? It seems to prevent "staying" altogether.
I tried removing treeView.unfocus()
altogether, but that appears to break much more functionality (e.g. the tree collapses when opening a file, opening a file always creates a new tab).
Hmmm thanks for investigating, sorry the issue has totally slipped my mind. I will see if that can be fixed later this week.
@sQu1rr You're welcome. I actually think I've found the root cause and a proper fix. I'll open a PR shortly.
Steps to Reproduce
Stay Examples
Expected Result
Focus remains on tree view.
Actual Result
Focus is placed on the buffer for the selected file.
Environment