Skip to content

Fix notebook UI overlap #129286

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix notebook UI overlap #129286

wants to merge 3 commits into from

Conversation

jeanp413
Copy link
Contributor

@jeanp413 jeanp413 commented Jul 24, 2021

This PR fixes #128491 and #128999

Comment on lines 493 to +496
return this.doShowEditor(activeEditor, { active: true, isNew: false /* restored */ }, options).then(() => {

// Update visibility when restored as the editor start as visible but
// could be hidden if panel is maximized
this.onDidVisibilityChange(this.layoutService.isVisible(Parts.EDITOR_PART));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed for the edge case when we have a notebook editor open but with the panel maximized and then reload the window. When the editors are restored they start as visible but are actually hidden as the panel is maximized

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

Successfully merging this pull request may close these issues.

UI Overlap when terminal max size.
2 participants