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

The select box does not follow the mouse as you drag to move it #4232

Open
damnright opened this issue Mar 20, 2024 · 1 comment · May be fixed by #4233
Open

The select box does not follow the mouse as you drag to move it #4232

damnright opened this issue Mar 20, 2024 · 1 comment · May be fixed by #4233

Comments

@damnright
Copy link
Contributor

Describe the bug

It's a bug from Selection plugin,mostly because of the moving function does not consider the graph's scale.

Your Example Website or App

https://stackblitz.com/

Steps to Reproduce the Bug or Issue

1.Enabling selection,set 'following' to false.
2.Selecting multiple nodes.
3.Scaling the graph.
4.Draging the Selection box.

Expected behavior

moving in proper way

Screenshots or Videos

ss

Platform

  • OS: Windows10
  • Browser: Chrome
  • Version: latest

Additional context

No response

@light-years-run
Copy link

自己实现渲染选择框吧,根据框选所有节点的外包矩形

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

Successfully merging a pull request may close this issue.

2 participants