Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when click on a tab in the dockview the focused tab for typing doesn't change #39

Open
rhildred opened this issue Oct 17, 2023 · 1 comment

Comments

@rhildred
Copy link
Contributor

rhildred commented Oct 17, 2023

when I click on a file in the treeview, that file becomes the active tab in the editor. When I click on a tab in the dockview the active file in the treeview becomes active. You end up with typing in the wrong file.

It looks like I need to find/create a place to call panel.api.setActive(); like happens in panel.ts when we open a file from the treeview.

@rhildred
Copy link
Contributor Author

Little bit more info on this one. I found a place to set the active tab. It seemed to help, but when you change a file, lets say index.html, and go to the preview to see your change and then go update the README.md for instance, the active tab stays the index.html. Typing goes in that tab, even though the README is visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant