Skip to content

fix: avoid stale fold height after leaving edit mode#238

Open
PathGao wants to merge 1 commit into
alecdotdev:masterfrom
PathGao:codex/fix-fold-height-after-edit
Open

fix: avoid stale fold height after leaving edit mode#238
PathGao wants to merge 1 commit into
alecdotdev:masterfrom
PathGao:codex/fix-fold-height-after-edit

Conversation

@PathGao

@PathGao PathGao commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #235. Fold measurement pauses while the preview pane is hidden in edit-only mode, preventing a hidden-pane measurement from persisting an oversized fold height.\n\nValidation:\n- node --test --import tsx scripts/foldLayout.test.ts\n- npm run check

@PathGao
PathGao marked this pull request as ready for review July 24, 2026 20:47
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.

fix: preview fold wrapper retains stale height after toggling edit mode

1 participant