Skip to content

FIX: release the converter panel drag styles on unmount - #3631

Open
Manohar Paturi (ManoharPaturi) wants to merge 3 commits into
microsoft:mainfrom
ManoharPaturi:fix/converter-panel-resize-cleanup
Open

Manohar Paturi (ManoharPaturi) wants to merge 3 commits into
microsoft:mainfrom
ManoharPaturi:fix/converter-panel-resize-cleanup

Conversation

@ManoharPaturi

@ManoharPaturi Manohar Paturi (ManoharPaturi) commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes #3630

The resize drag's cursor and selection lock were only released by the document mouseup handler, which the effect cleanup removes. Unmounting mid drag therefore left col-resize over the whole app and text selection disabled until reload. The cleanup now performs the same release whenever a drag is still held.

Tests and Documentation

Added a regression test that starts a drag, unmounts the panel while it is held, and asserts both body styles are restored. It fails on main and passes with the change. The full panel suite passes (45 tests) and tsc is clean.

No documentation change needed, so I did not run JupyText.

@jbolor21 jbolor21 self-assigned this Oct 29, 2026
@jbolor21

Copy link
Copy Markdown
Contributor

tiny question, would be great if you could link the issue you mentioned, i'm not seeing it in your PR description!

@ManoharPaturi

Manohar Paturi (ManoharPaturi) commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor Author

jbolor21 Sorry about that, my bad. I filed the issue but left the description without the number, so nothing actually linked. It reads Fixes #3630 now and the sidebar shows it.

Copilot AI balanced review requested due to automatic review settings November 2, 2026 20:10

Copilot AI left a comment

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@jbolor21
jbolor21 enabled auto-merge November 2, 2026 20:10

This branch has not been deployed

No deployments
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.

Converter panel resize leaves the whole app in resize cursor and unselectable when it unmounts mid drag

3 participants