Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] 框选组内元素,元素未选中 #1383

Closed
xjikun opened this issue Oct 24, 2023 · 1 comment
Closed

[Bug report] 框选组内元素,元素未选中 #1383

xjikun opened this issue Oct 24, 2023 · 1 comment

Comments

@xjikun
Copy link

xjikun commented Oct 24, 2023

问题描述

请用简洁的语言描述你遇到的 bug,至少包括以下部分,如提供截图请尽量完整:

  1. 问题触发的条件,如何复现
    框选组内元素
  2. 期望的表现
    组内元素可以选中,如果组内含有多个节点 方便删除、移出、复制
  3. 实际的表现
    组内元素未被选中

最简复现

一般来说通过文字和截图的描述我们很难定位到问题,为了帮助我们快速定位问题并修复,请选择以下方式编写并上传最简复现 demo:https://codesandbox.io/s/logicflow-base24-forked-t29trw?file=/step_24_group/index.js

复现:

2023-10-24.15.32.53.mov
  1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。
  2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。
  3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址)。

相关信息 context

LogicFlow Version:
Node Version:
Platform:

@wumail
Copy link
Collaborator

wumail commented Oct 24, 2023

当前框选的逻辑就是组内的不被选中,这是已知问题,而且暂时不会处理。你可以自行修改selection-select插件中的代码来满足你的需求
https://github.com/didi/LogicFlow/blob/master/packages/extension/src/components/selection-select/index.ts#L137

@wumail wumail closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants