Skip to content

Hide connection previews in revertDrag #8853

@rachel-fenichel

Description

@rachel-fenichel

Check for duplicates

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

Problem

While implementing constrained drag in keyboard experimentation, I found that revertDrag in BlockDragStrategy does not call connectionPreviewer.hidePreview.

So far this has been safe because drags are only reverted when dropped onto an invalid location.

With the option to end a drag with escape, it's important to fully clean up in revertDrag.

Request

Call connectionPreviwer.hidePreview in revertDrag. Should be a no-op if no preview was being shown.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

issue: feature requestDescribes a new feature and why it should be added

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions