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

Only render notebook container if visible #188226

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

christian-bromann
Copy link
Contributor

fixes #179671

The bug was introduced by #175550 and is caused by executing layoutContainerOverShadowElement when the notebooks is overlayed by the terminal and therefor should not be visible. This causes the the container to be rendered with an height, e.g.:

error

While I am not 100% familiar with the interplay of all components my best guess was to assert the _isVisible state to decide whether to run that method. It definitely resolves the bug but could have implications for other workflows.

@VSCodeTriageBot VSCodeTriageBot added this to the October 2023 milestone Oct 5, 2023
@rebornix rebornix merged commit c734fc3 into microsoft:main Oct 5, 2023
6 checks passed
@christian-bromann christian-bromann deleted the cb-notebook-ui-fix branch October 6, 2023 01:07
Alex0007 pushed a commit to Alex0007/vscode that referenced this pull request Oct 26, 2023
Co-authored-by: Peng Lyu <penn.lv@gmail.com>
@github-actions github-actions bot locked and limited conversation to collaborators Nov 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrated terminal maximized panel glitch with jupyter notebook
4 participants