We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 text was updated successfully, but these errors were encountered:
这个其实不建议用右键、中键和侧键来做,右键一般会和菜单功能绑定,中键和侧键的话某些设备可能是不支持的,推荐还是把这些操作收敛到鼠标左键上,这个其实很多流程图产品都有类似的设计可以参考,比如:
以上这个的实现我写了个示例,大致上能满足框选、节点拖动、画布拖拽同时启用的需求,可以参考一下~
Sorry, something went wrong.
可以参考 @ChangeSuger 的回答和实现,目前建议用户自定义实现,不会内置该功能,故先将此 issue 关闭处理
No branches or pull requests
背景&目的
希望能设置不仅仅只能用鼠标左键拖曳画布,让右键、中键甚至侧键也能用,在我的一个场景下,希望能用左键进行单个节点的拖动,中键进行节点的框选,同时用右键进行画布的拖动,结果发现既不能让框选与拖动同时启用,也不能更改拖动用的鼠标按键
目前还在研究能否自行实现,但难度感觉很大,希望制作组能看见...
The text was updated successfully, but these errors were encountered: