Skip to content

在启用多选插件Selection的时候,框选中节点移动时interacting配置的nodeMovable不生效 #5052

Description

@luoshixian00

问题描述

配置如下,interacting: () => {
return { nodeMovable: false };
}
直接移动时nodeMovable是生效的,但是框选移动时不生效,是否有好的解决方法,或者其他替代方法

重现链接

https://codesandbox.io/p/sandbox/4qg9z8

重现步骤

拖拽节点时,nodeMovable为false的配置正常(即不可移动节点),框选中节点后nodeMovable为false的配置不生效,仍可移动节点

预期行为

框选中节点后nodeMovable为false配置也能正常生效,(即框选中时,也不可移动节点)

平台

  • 操作系统: Windows
  • 网页浏览器: Google Chrome

屏幕截图或视频(可选但最好有)

No response

补充说明(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for maintainerTriage or intervention needed from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions