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

do not shrink cell if still executing #195283

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

amunger
Copy link
Contributor

@amunger amunger commented Oct 10, 2023

@amunger amunger merged commit 6598802 into main Oct 10, 2023
7 checks passed
@amunger amunger deleted the aamunger/cellResizeBehavior branch October 10, 2023 19:11
if (synchronous) {
this.viewCell.unlockOutputHeight();
} else {
} else if (executionState?.state !== NotebookCellExecutionState.Executing) {
this._outputHeightTimer = setTimeout(() => {
Copy link
Member

Choose a reason for hiding this comment

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

It's possible that execution state is still Executing when we finish the output update (for example, the cell is executing but there is no more outputs). We need a listener on cell execution state change to ensure that we always unlock the output height at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 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.

None yet

4 participants