fix: Fix bug that caused blocks to become disconnected when undoing deletions by gonfunko · Pull Request #9636 · RaspberryPiFoundation/blockly

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gonfunko

Copy link Copy Markdown

Contributor

The basics

The details

Resolves

Fixes #9616

Proposed Changes

This PR reverts part of #9563 which turns out to have been unnecessary and caused a bug whereby blocks would appear disconnected when deleting a block that was connected to another and then undoing. The original issue remains fixed with these changes.

@gonfunko gonfunko requested a review from maribethb

March 16, 2026 22:52

@gonfunko gonfunko requested a review from a team as a code owner

March 16, 2026 22:52

@github-actions github-actions bot added the PR: fix

Fixes a bug

label

Mar 16, 2026

@maribethb maribethb merged commit 92c73f6 into main

Mar 18, 2026

11 checks passed

@maribethb maribethb deleted the delete-undo branch

March 18, 2026 17:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@maribethb maribethb maribethb approved these changes

Assignees

@maribethb maribethb

Labels

PR: fix

Fixes a bug

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Undoing the deletion of a connected block does not restore its outer connections

2 participants

@gonfunko @maribethb