Skip to content

do not shrink cell if still executing - #195283

Merged
Aaron Munger (amunger) merged 1 commit into
mainfrom
aamunger/cellResizeBehavior
Oct 10, 2023
Merged

Aaron Munger (amunger) merged 1 commit into
mainfrom
aamunger/cellResizeBehavior

Conversation

@amunger

Copy link
Copy Markdown
Collaborator

this.viewCell.unlockOutputHeight();
} else {
} else if (executionState?.state !== NotebookCellExecutionState.Executing) {
this._outputHeightTimer = setTimeout(() => {

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator 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.

4 participants