Skip to content

Insertion marker disconnects C shaped blocks when dragging with a block that has no prev or next statements #946

@samelhusseini

Description

@samelhusseini

Expected Behavior

Insertion marker shouldn't disconnect blocks when a block with no previous or next statement hovers over a number of nested C shaped blocks.

Actual Behavior

Insertion marker disconnects the C shaped blocks

Steps to Reproduce

Easiest repro is to
go to https://github.com/LLK/scratch-blocks/blob/develop/blocks_vertical/control.js#L60
control_forever, and remove "previousStatement": null,

Go to the playground and drag a number of C shaped blocks (eg: repeat 10) and nest them.
Then drag a control -> forever block and drag that over each of the nested repeat blocks.

insertionmarkers_issue

Operating System and Browser

Mac OS 10.12.3 Chrome 58.0.3029.110

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions