8000 Cannot apply custom drag strategy to shadow in v11 · Issue #8171 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot apply custom drag strategy to shadow in v11 #8171
Closed
@BeksOmega

Description

@BeksOmega

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

Custom drag strategies on shadow blocks do not work in v11 because we select the parent instead of the shadow.

This used to work, but was broken by #8138 because it was trying to fix #8137

We need a solution that allows shadow blocks to be the thing being dragged, but doesn't have it be the focus of dispose. I think we can just dispose of the root block instead, but I need to dig into it.

Additional info

This should go into our first v11 patch, since it's blocking for Lego and MakeCode.

cc @riknoll

Metadata

Metadata

Assignees

Labels

issue: bugDescribes why the code or behaviour is wrong

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0