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

在父节点内部进行框选 #1767

Closed
Hfutsora opened this issue Jan 17, 2022 · 9 comments
Closed

在父节点内部进行框选 #1767

Hfutsora opened this issue Jan 17, 2022 · 9 comments
Assignees
Labels
stale Issue that may be closed soon due to the original author not responding any more.

Comments

@Hfutsora
Copy link

Hfutsora commented Jan 17, 2022

Describe the feature you'd like to request

当我实现父子节点功能后,我想在某个父节点内部框选,但是目前的操作是只能移动(父节点),有没有办法实现节点内部框选功能呢,而不是必须从 画布(graph) 上才能触发框选。

Describe the solution you'd like

能从父节点内部开启框选

Describe alternatives you've considered

能添加绑定(如 ctrl + 点击)为框选模式 与 移动能区分开 也可以。

Your Example Website or App

No response

Screenshots or Videos

4 5V@O_J~8)N O4(9V)) V

类似这样,可以直接在节点内触发框选。

@Hfutsora
Copy link
Author

Discussion #1766

@GreatAuk
Copy link
Contributor

目前框选只有点击空白区域才会触发,在 Node 内部是无法触发的。在给 selecting 添加 modifiers 的情况下,是否可以实现 Node 内容框选?

@NewByVector
Copy link
Contributor

可以使用:

selecting: { pointerEvents: 'none' }

@Hfutsora
Copy link
Author

可以使用:

selecting: { pointerEvents: 'none' }

你好,https://codesandbox.io/s/kind-tesla-dod3b?file=/index.ts 这里是 sandbox 已经加上了 pointerEvents: 'none',但没感觉到变化,我应该怎么做呢。

@NewByVector
Copy link
Contributor

不好意思,看错了你的问题,内部框选是不支持的,点选是可以的。

@NewByVector NewByVector self-assigned this Jan 20, 2022
@x6-bot
Copy link
Contributor

x6-bot bot commented Feb 10, 2022

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the AntV community! 💪💯

@x6-bot x6-bot bot added the stale Issue that may be closed soon due to the original author not responding any more. label Feb 10, 2022
@Hfutsora
Copy link
Author

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the AntV community! 💪💯

Please keep this issue open.

@NewByVector
Copy link
Contributor

调研一下其他图编辑应用(drawio, lucidchart)的操作,你上面提的操作并不合理,先关闭这个 issue.

@x6-bot
Copy link
Contributor

x6-bot bot commented Feb 11, 2023

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale Issue that may be closed soon due to the original author not responding any more.
Projects
None yet
Development

No branches or pull requests

3 participants