-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Invisible element is focused when SCM split view is collapsed #65585
Comments
This applies to all panels: SCM, Extensions viewlet, Debug, etc... |
Oh wow, then I looked at the wrong place (https://github.com/Microsoft/vscode/blob/9606490e26f8cbe4d615305389d45e9b144ded7c/src/vs/workbench/browser/parts/views/customView.ts#L319). @sandy081 this would probably be a candidate for moving into a reusable space if possible. |
Every view has to show/hide their widgets on visibility change. This will be too much to abstract as each view has its own widgets like tree, list etc., |
@sandy081 well, now that I am thinking about it, why is the splitview not hiding the body on collapse, wouldn't that be the best general solution? Imho does not make a lot of sense that each customer needs to hide their stuff. |
Exactly what I came here to say: @bpasero is right, the Panel should take its own body out of the DOM when hidden. |
Repro:
document.activeElement
points at this, which appears to be a tree inside the pane:The text was updated successfully, but these errors were encountered: